NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.stack
Interface SIPServerResponseInterface

All Known Implementing Classes:
NistSipMessageHandlerImpl, SIPClientTransaction

public interface SIPServerResponseInterface

An interface for a genereic message processor for SIP Response messages. This is implemented by the application. The stack calls the message factory with a pointer to the parsed structure to create one of these and then calls processResponse on the newly created SIPServerResponse It is the applications responsibility to take care of what needs to be done to actually process the response.

Version:
JAIN-SIP-1.1
Author:
M. Ranganathan
This code is in the public domain.

Method Summary
 String getProcessingInfo()
          Get auxiliary information that is generated while logging for the purpose of writing out the log file.
 MessageChannel getRequestChannel()
          Get the Channel for the sender.
 void processResponse(gov.nist.javax.sip.message.SIPResponse sipResponse, MessageChannel incomingChannel)
          Process the Response.
 

Method Detail

processResponse

public void processResponse(gov.nist.javax.sip.message.SIPResponse sipResponse,
                            MessageChannel incomingChannel)
                     throws SIPServerException
Process the Response.

Parameters:
incomingChannel - is the incoming message channel (parameter added in response to a request by Salvador Rey Calatayud.)
sipResponse - is the responseto process.
Throws:
SIPServerException - Exception that gets thrown by this processor when an exception is encountered in the message processing.

getRequestChannel

public MessageChannel getRequestChannel()
Get the Channel for the sender.

Returns:
the MessageChannel through which you can send a new request to the responder.

getProcessingInfo

public String getProcessingInfo()
Get auxiliary information that is generated while logging for the purpose of writing out the log file.


NIST SIP Parser and Stack (v1.2) API

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.