FileDocCategorySizeDatePackage
SIPServerRequestInterface.javaAPI DocphoneME MR2 API (J2ME)2899Wed May 02 18:00:42 BST 2007gov.nist.siplite.stack

SIPServerRequestInterface

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 This code is in the public domain.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetProcessingInfo()
Gets 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.

return
the processing information

public MessageChannelgetResponseChannel()
Gets the channel to where to send the response (the outgoing message channel).

return
the response message channel

public voidprocessRequest(Request sipRequest, MessageChannel incomingChannel)
Processes the message. This incorporates a feature request by Salvador Rey Calatayud <salreyca@TELECO.UPV.ES>

param
sipRequest is the incoming SIP Request.
param
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.