| |
|
| java.lang.Object gov.nist.siplite.NistSipMessageHandlerImpl
NistSipMessageHandlerImpl | public class NistSipMessageHandlerImpl implements SIPServerRequestInterface,SIPServerResponseInterface(Code) | | 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.
version: JAIN-SIP-1.1 version: This code is in the public domain. |
transactionChannel | protected Transaction transactionChannel(Code) | | Current transaction channel.
|
getProcessingInfo | public String getProcessingInfo()(Code) | | Just a placeholder. This is called from the stack
for message logging. Auxiliary processing information can
be passed back to be written into the log file.
auxiliary information that we may have generated during themessage processing which is retrieved by the message logger.(Always returns null) |
getRequestChannel | public MessageChannel getRequestChannel()(Code) | | Gets the sender channel.
the request channel |
getResponseChannel | public MessageChannel getResponseChannel()(Code) | | Gets the channel if we want to initiate a new transaction to
the sender of a response.
a message channel that points to the place from where we gotthe response. |
processRequest | public void processRequest(Request sipRequest, MessageChannel incomingMessageChannel) throws SIPServerException(Code) | | Process a request.
Parameters: sipRequest - the request to be processed Parameters: incomingMessageChannel - the inbound message connection exception: SIPServerException - is thrown when there is an errorprocessing the request. |
processResponse | public void processResponse(Response sipResponse, MessageChannel incomingMessageChannel) throws SIPServerException(Code) | | Process the response.
Parameters: sipResponse - the response message Parameters: incomingMessageChannel - message channel on which theresponse is received. exception: SIPServerException - is thrown when there is an errorprocessing the response |
|
|
|