|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiameterFactory
Factory interface for Diameter abstractions. An instance this class is available to applications
through the org.cipango.diameter.DiameterFactory
attribute of
ServletContext
Method Summary | |
---|---|
DiameterServletRequest |
createRequest(javax.servlet.sip.SipApplicationSession appSession,
ApplicationId id,
DiameterCommand command,
java.lang.String destinationRealm)
Returns a new diameter request object with the specified command, application identifier, and destination realm. |
DiameterServletRequest |
createRequest(javax.servlet.sip.SipApplicationSession appSession,
ApplicationId id,
DiameterCommand command,
java.lang.String destinationRealm,
java.lang.String destinationHost)
Returns a new diameter request object with the specified command, application identifier, destination realm and destination host. |
Method Detail |
---|
DiameterServletRequest createRequest(javax.servlet.sip.SipApplicationSession appSession, ApplicationId id, DiameterCommand command, java.lang.String destinationRealm)
DiameterSession
which belongs to the specified SipApplicationSession
.
The container is responsible for assigning the request appropriate origin host, origin realm,
session id AVPs.
appSession
- the application session to which the new DiameterSession
and
DiameterRequest
belongsid
- diameter application identifiercommand
- diameter commanddestinationRealm
- value of destination realm AVP
Common.DESTINATION_REALM
DiameterServletRequest createRequest(javax.servlet.sip.SipApplicationSession appSession, ApplicationId id, DiameterCommand command, java.lang.String destinationRealm, java.lang.String destinationHost)
DiameterSession
which belongs to the specified
SipApplicationSession
.
The container is responsible for assigning the request appropriate origin host, origin realm,
session id AVPs.
appSession
- the application session to which the new DiameterSession
and
DiameterRequest
belongsid
- diameter application identifiercommand
- diameter commanddestinationRealm
- value of destination realm AVPdestinationHost
- value of destination host AVP
Common.DESTINATION_REALM
,
Common.DESTINATION_HOST
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |