NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.stack
Interface SIPStackMessageFactory

All Known Implementing Classes:
NistSipMessageFactoryImpl

public interface SIPStackMessageFactory

An interface for generating new requests and responses. This is implemented by the application and called by the stack for processing requests and responses. When a Request comes in off the wire, the stack calls newSIPServerRequest which is then responsible for processing the request. When a response comes off the wire, the stack calls newSIPServerResponse to process the response.

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

Method Summary
 SIPServerRequestInterface newSIPServerRequest(gov.nist.javax.sip.message.SIPRequest sipRequest, MessageChannel msgChan)
          Make a new SIPServerResponse given a SIPRequest and a message channel.
 SIPServerResponseInterface newSIPServerResponse(gov.nist.javax.sip.message.SIPResponse sipResponse, MessageChannel msgChan)
          Generate a new server response for the stack.
 

Method Detail

newSIPServerRequest

public SIPServerRequestInterface newSIPServerRequest(gov.nist.javax.sip.message.SIPRequest sipRequest,
                                                     MessageChannel msgChan)
Make a new SIPServerResponse given a SIPRequest and a message channel.

Parameters:
sipRequest - is the incoming request.
msgChan - is the message channel on which this request was received.

newSIPServerResponse

public SIPServerResponseInterface newSIPServerResponse(gov.nist.javax.sip.message.SIPResponse sipResponse,
                                                       MessageChannel msgChan)
Generate a new server response for the stack.

Parameters:
sipResponse - is the incoming response.
msgChan - is the message channel on which the response was received.

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.