|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.stack.MessageProcessor
public abstract class MessageProcessor
This is the Stack abstraction for the active object that waits for messages to appear on the wire and processes these messages by calling the MessageFactory interface to create a ServerRequest or ServerResponse object. The main job of the message processor is to instantiate message channels for the given transport.
コンストラクタの概要 | |
---|---|
MessageProcessor()
|
メソッドの概要 | |
---|---|
abstract MessageChannel |
createMessageChannel(HostPort targetHostPort)
Create a message channel for the specified host/port. |
abstract MessageChannel |
createMessageChannel(java.net.InetAddress targetHost,
int port)
Create a message channel for the specified host/port. |
abstract int |
getDefaultTargetPort()
Default target port used by this processor. |
abstract int |
getMaximumMessageSize()
Maximum number of bytes that this processor can handle. |
abstract int |
getPort()
Get the port identifier. |
abstract SIPMessageStack |
getSIPStack()
Get the SIP Stack. |
abstract java.lang.Thread |
getThread()
Get our thread. |
abstract java.lang.String |
getTransport()
Get the transport string. |
Via |
getViaHeader()
Get the Via header to assign for this message processor. |
abstract boolean |
inUse()
Return true if there are pending messages to be processed (which prevents the message channel from being closed). |
abstract boolean |
isSecure()
Flags whether this processor is secure or not. |
abstract void |
run()
Run method. |
abstract void |
start()
Start our thread. |
abstract void |
stop()
Stop method. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public MessageProcessor()
メソッドの詳細 |
---|
public abstract java.lang.String getTransport()
public abstract int getPort()
public abstract SIPMessageStack getSIPStack()
public abstract MessageChannel createMessageChannel(HostPort targetHostPort) throws java.io.IOException
java.io.IOException
public abstract MessageChannel createMessageChannel(java.net.InetAddress targetHost, int port) throws java.io.IOException
java.io.IOException
public abstract java.lang.Thread getThread()
public abstract void start() throws java.io.IOException
java.io.IOException
public abstract void stop()
public abstract int getDefaultTargetPort()
public abstract boolean isSecure()
public abstract int getMaximumMessageSize()
public abstract boolean inUse()
public Via getViaHeader()
public abstract void run()
java.lang.Runnable
内の run
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |