NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip
Class NistSipMessageFactoryImpl

java.lang.Object
  |
  +--gov.nist.javax.sip.NistSipMessageFactoryImpl
All Implemented Interfaces:
SIPStackMessageFactory

public class NistSipMessageFactoryImpl
extends Object
implements SIPStackMessageFactory

Implements all the support classes that are necessary for the nist-sip stack on which the jain-sip stack has been based. This is a mapping class to map from the NIST-SIP abstractions to the JAIN abstractions. (i.e. It is the glue code that ties the NIST-SIP event model and the JAIN-SIP event model together. When a SIP Request or SIP Response is read from the corresponding messageChannel, the NIST-SIP stack calls the SIPStackMessageFactory implementation that has been registered with it to process the request.)

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

Constructor Summary
NistSipMessageFactoryImpl(SipStackImpl sipStackImpl)
           
 
Method Summary
 SIPServerRequestInterface newSIPServerRequest(gov.nist.javax.sip.message.SIPRequest sipRequest, MessageChannel messageChannel)
          Construct a new SIP Server Request.
 SIPServerResponseInterface newSIPServerResponse(gov.nist.javax.sip.message.SIPResponse sipResponse, MessageChannel messageChannel)
          Generate a new server response for the stack.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NistSipMessageFactoryImpl

public NistSipMessageFactoryImpl(SipStackImpl sipStackImpl)
Method Detail

newSIPServerRequest

public SIPServerRequestInterface newSIPServerRequest(gov.nist.javax.sip.message.SIPRequest sipRequest,
                                                     MessageChannel messageChannel)
Construct a new SIP Server Request.

Specified by:
newSIPServerRequest in interface SIPStackMessageFactory
Parameters:
sipRequest - is the SIPRequest from which the SIPServerRequest is to be constructed.
messageChannel - is the MessageChannel abstraction for this SIPServerRequest.

newSIPServerResponse

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

Specified by:
newSIPServerResponse in interface SIPStackMessageFactory
Parameters:
sipResponse - is the SIPRequest from which the SIPServerRequest is to be constructed.
messageChannel - is the MessageChannel abstraction for this SIPServerResponse

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.