gov.nist.javax.sip
クラス NistSipMessageHandlerImpl

java.lang.Object
  上位を拡張 gov.nist.javax.sip.NistSipMessageHandlerImpl
すべての実装されたインタフェース:
ServerRequestInterface, ServerResponseInterface

public class NistSipMessageHandlerImpl
extends java.lang.Object
implements ServerRequestInterface, ServerResponseInterface

An adapter class from the JAIN implementation objects to the NIST-SIP stack. The primary purpose of this class is to do early rejection of bad messages and deliver meaningful messages to the transaction layer. This is the class that is instantiated by the NistSipMessageFactory to create a new SIPServerRequest or SIPServerResponse. Note that this is not part of the JAIN-SIP spec (it does not implement a JAIN-SIP interface). This is part of the glue that ties together the NIST-SIP stack and event model with the JAIN-SIP stack. Implementors of JAIN services need not concern themselves with this class.

バージョン:
JAIN-SIP-1.1 $Revision: 1.41 $ $Date: 2004/09/28 04:07:03 $
作成者:
M. Ranganathan
Bug fix Contributions by Lamine Brahimi and Andreas Bystrom.
This code is in the public domain.

コンストラクタの概要
NistSipMessageHandlerImpl()
           
 
メソッドの概要
 java.lang.String getProcessingInfo()
          Just a placeholder.
 void processPending()
          Gets called from the dialog layer.
 void processRequest(SIPRequest sipRequest, MessageChannel incomingMessageChannel)
          Process a request.
 void processResponse(SIPResponse sipResponse, MessageChannel incomingMessageChannel)
          Process the response.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NistSipMessageHandlerImpl

public NistSipMessageHandlerImpl()
メソッドの詳細

processPending

public void processPending()
Gets called from the dialog layer.


processRequest

public void processRequest(SIPRequest sipRequest,
                           MessageChannel incomingMessageChannel)
Process a request.

定義:
インタフェース ServerRequestInterface 内の processRequest
パラメータ:
sipRequest - is the incoming SIP Request.
例外:
SIPServerException - is thrown when there is an error processing the request.

processResponse

public void processResponse(SIPResponse sipResponse,
                            MessageChannel incomingMessageChannel)
Process the response.

定義:
インタフェース ServerResponseInterface 内の processResponse
パラメータ:
incomingMessageChannel - -- message channel on which the response is received.
sipResponse - is the responseto process.
例外:
SIPServerException - is thrown when there is an error processing the response

getProcessingInfo

public java.lang.String getProcessingInfo()
Just a placeholder. This is called from the stack for message logging. Auxiliary processing information can be passed back to be written into the log file.

定義:
インタフェース ServerRequestInterface 内の getProcessingInfo
定義:
インタフェース ServerResponseInterface 内の getProcessingInfo
戻り値:
auxiliary information that we may have generated during the message processing which is retrieved by the message logger.