|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.javax.sip.NistSipMessageHandlerImpl
An adapter class from the JAIN implementation objects to the NIST-SIP stack. This is the class that is instantiated by the NistSipMessageFactory to create a new SIPServerRequest or SIPServerResponse. Note that this is not part of the JAIN-SIP spec (it does not implement a JAIN-SIP interface). This is part of the glue that ties together the NIST-SIP stack and event model with the JAIN-SIP stack. Implementors of JAIN services need not concern themselves with this class.
Constructor Summary | |
NistSipMessageHandlerImpl()
|
Method Summary | |
String |
getProcessingInfo()
Just a placeholder. |
MessageChannel |
getRequestChannel()
Get the sender channel. |
MessageChannel |
getResponseChannel()
Get the channel if we want to initiate a new transaction to the sender of a response. |
void |
processRequest(gov.nist.javax.sip.message.SIPRequest sipRequest,
MessageChannel incomingMessageChannel)
Process a request. |
void |
processResponse(gov.nist.javax.sip.message.SIPResponse sipResponse,
MessageChannel incomingMessageChannel)
Process the response. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NistSipMessageHandlerImpl()
Method Detail |
public void processRequest(gov.nist.javax.sip.message.SIPRequest sipRequest, MessageChannel incomingMessageChannel) throws SIPServerException
processRequest
in interface SIPServerRequestInterface
sipRequest
- is the incoming SIP Request.incomingMessageChannel
- is the incoming message channel (parameter
added in response to a request by Salvador Rey Calatayud.)
SIPServerException
- is thrown when there is an error
processing the request.public void processResponse(gov.nist.javax.sip.message.SIPResponse sipResponse, MessageChannel incomingMessageChannel) throws SIPServerException
processResponse
in interface SIPServerResponseInterface
incomingMessageChannel
- -- message channel on which the
response is received.sipResponse
- is the responseto process.
SIPServerException
- is thrown when there is an error
processing the responsepublic MessageChannel getRequestChannel()
getRequestChannel
in interface SIPServerResponseInterface
public MessageChannel getResponseChannel()
getResponseChannel
in interface SIPServerRequestInterface
public String getProcessingInfo()
getProcessingInfo
in interface SIPServerRequestInterface
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |