NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.stack
Interface SIPServerRequestInterface

All Known Implementing Classes:
NistSipMessageHandlerImpl, SIPServerTransaction

public interface SIPServerRequestInterface

An interface for a genereic message processor for SIP Request 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 processRequest on the newly created SIPServerRequest It is the applications responsibility to take care of what needs to be done to actually process the request.

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

Method Summary
 String getProcessingInfo()
          Get processing information.
 MessageChannel getResponseChannel()
          Get the channel to where to send the response (the outgoing message channel).
 void processRequest(gov.nist.javax.sip.message.SIPRequest sipRequest, MessageChannel incomingChannel)
          Process the message.
 

Method Detail

getResponseChannel

public MessageChannel getResponseChannel()
Get the channel to where to send the response (the outgoing message channel).


processRequest

public void processRequest(gov.nist.javax.sip.message.SIPRequest sipRequest,
                           MessageChannel incomingChannel)
                    throws SIPServerException
Process the message. This incorporates a feature request by Salvador Rey Calatayud

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

getProcessingInfo

public String getProcessingInfo()
Get processing information. The stack queries processing information to add to the message log. by calling this interface. Return null if no processing information of interes thas been generated.


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.