|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.stack.MessageProcessor
gov.nist.javax.sip.stack.TCPMessageProcessor
public class TCPMessageProcessor
Sit in a loop waiting for incoming tcp connections and start a new thread to handle each new connection. This is the active object that creates new TCP MessageChannels (one for each new accept socket).
メソッドの概要 | |
---|---|
MessageChannel |
createMessageChannel(HostPort targetHostPort)
Create a message channel for the specified host/port. |
MessageChannel |
createMessageChannel(java.net.InetAddress host,
int port)
Create a message channel for the specified host/port. |
int |
getDefaultTargetPort()
Default target port for TCP |
int |
getMaximumMessageSize()
TCP can handle an unlimited number of bytes. |
java.lang.String |
getNAPTRService()
TCP NAPTR service name. |
int |
getPort()
Returns the port that we are listening on. |
SIPMessageStack |
getSIPStack()
Returns the stack. |
java.lang.String |
getSRVPrefix()
TCP SRV prefix. |
java.lang.Thread |
getThread()
Return our thread. |
java.lang.String |
getTransport()
Return the transport string. |
boolean |
inUse()
Return true if there are pending messages to be processed (which prevents the message channel from being closed). |
boolean |
isSecure()
TCP is not a secure protocol. |
void |
run()
Run method for the thread that gets created for each accept socket. |
void |
start()
Start the processor. |
void |
stop()
Stop the message processor. |
クラス gov.nist.javax.sip.stack.MessageProcessor から継承されたメソッド |
---|
getViaHeader |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public void start() throws java.io.IOException
MessageProcessor
内の start
java.io.IOException
public java.lang.Thread getThread()
MessageProcessor
内の getThread
public void run()
java.lang.Runnable
内の run
MessageProcessor
内の run
public java.lang.String getTransport()
MessageProcessor
内の getTransport
public int getPort()
MessageProcessor
内の getPort
public SIPMessageStack getSIPStack()
MessageProcessor
内の getSIPStack
public void stop()
MessageProcessor
内の stop
public MessageChannel createMessageChannel(HostPort targetHostPort) throws java.io.IOException
MessageProcessor
の記述:
MessageProcessor
内の createMessageChannel
java.io.IOException
public MessageChannel createMessageChannel(java.net.InetAddress host, int port) throws java.io.IOException
MessageProcessor
の記述:
MessageProcessor
内の createMessageChannel
java.io.IOException
public int getMaximumMessageSize()
MessageProcessor
内の getMaximumMessageSize
public java.lang.String getNAPTRService()
public java.lang.String getSRVPrefix()
public boolean inUse()
MessageProcessor
の記述:
MessageProcessor
内の inUse
public int getDefaultTargetPort()
MessageProcessor
内の getDefaultTargetPort
public boolean isSecure()
MessageProcessor
内の isSecure
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |