|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.stack.MessageProcessor
gov.nist.javax.sip.stack.UDPMessageProcessor
public class UDPMessageProcessor
Sit in a loop and handle incoming udp datagram messages. For each Datagram packet, a new UDPMessageChannel is created (upto the max thread pool size). Each UDP message is processed in its own thread).
メソッドの概要 | |
---|---|
MessageChannel |
createMessageChannel(HostPort targetHostPort)
Create and return new TCPMessageChannel for the given 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 UDP |
int |
getMaximumMessageSize()
UDP can handle a message as large as the MAX_DATAGRAM_SIZE. |
int |
getPort()
Get port on which to listen for incoming stuff. |
SIPMessageStack |
getSIPStack()
Returns the stack. |
java.lang.Thread |
getThread()
Get my thread. |
java.lang.String |
getTransport()
Return the transport string. |
boolean |
inUse()
Return true if there are any messages in use. |
boolean |
isSecure()
UDP is not a secure protocol. |
void |
run()
Thread main routine. |
void |
start()
Start our processor thread. |
void |
stop()
Shut down the message processor. |
クラス gov.nist.javax.sip.stack.MessageProcessor から継承されたメソッド |
---|
getViaHeader |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public java.lang.Thread getThread()
MessageProcessor
内の getThread
public int getPort()
MessageProcessor
内の getPort
public void start() throws java.io.IOException
MessageProcessor
内の start
java.io.IOException
public void run()
java.lang.Runnable
内の run
MessageProcessor
内の run
public void stop()
MessageProcessor
内の stop
public java.lang.String getTransport()
MessageProcessor
内の getTransport
public SIPMessageStack getSIPStack()
MessageProcessor
内の getSIPStack
public MessageChannel createMessageChannel(HostPort targetHostPort) throws java.net.UnknownHostException
MessageProcessor
内の createMessageChannel
java.net.UnknownHostException
public MessageChannel createMessageChannel(java.net.InetAddress host, int port) throws java.io.IOException
MessageProcessor
の記述:
MessageProcessor
内の createMessageChannel
java.io.IOException
public int getDefaultTargetPort()
MessageProcessor
内の getDefaultTargetPort
public boolean isSecure()
MessageProcessor
内の isSecure
public int getMaximumMessageSize()
MessageProcessor
内の getMaximumMessageSize
public boolean inUse()
MessageProcessor
内の inUse
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |