gov.nist.javax.sip.stack
インタフェース StackMessageFactory

既知の実装クラスの一覧:
NistSipMessageFactoryImpl

public interface StackMessageFactory

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.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/06/21 05:42:33 $
作成者:
M. Ranganathan
This code is in the public domain.

メソッドの概要
 ServerRequestInterface newSIPServerRequest(SIPRequest sipRequest, MessageChannel msgChan)
          Make a new SIPServerResponse given a SIPRequest and a message channel.
 ServerResponseInterface newSIPServerResponse(SIPResponse sipResponse, MessageChannel msgChan)
          Generate a new server response for the stack.
 

メソッドの詳細

newSIPServerRequest

ServerRequestInterface newSIPServerRequest(SIPRequest sipRequest,
                                           MessageChannel msgChan)
Make a new SIPServerResponse given a SIPRequest and a message channel.

パラメータ:
sipRequest - is the incoming request.
msgChan - is the message channel on which this request was received.

newSIPServerResponse

ServerResponseInterface newSIPServerResponse(SIPResponse sipResponse,
                                             MessageChannel msgChan)
Generate a new server response for the stack.

パラメータ:
sipResponse - is the incoming response.
msgChan - is the message channel on which the response was received.