| |
|
| java.lang.Object gov.nist.siplite.stack.MessageProcessor gov.nist.siplite.stack.UDPMessageProcessor
UDPMessageProcessor | public class UDPMessageProcessor extends MessageProcessor implements Runnable(Code) | | Sit in a loop and handle incoming udp datagram messages. For each Datagram
packet, a new UDPMessageChannel is created. (Each UDP message is processed
in its own thread).
|
Field Summary | |
final protected static int | MAX_DATAGRAM_SIZE Max datagram size. | int | port Inbound message port number. |
MAX_DATAGRAM_SIZE | final protected static int MAX_DATAGRAM_SIZE(Code) | | Max datagram size.
|
port | int port(Code) | | Inbound message port number.
|
UDPMessageProcessor | protected UDPMessageProcessor(SIPMessageStack sipStack, int port)(Code) | | Constructor with initial stack and port number.
Parameters: sipStack - pointer to the stack. Parameters: port - for incoming messages |
createMessageChannel | public MessageChannel createMessageChannel(HostPort targetHostPort)(Code) | | Create and return new TCPMessageChannel for the given host/port.
Parameters: targetHostPort - target host and port number the new message channel |
createMessageChannel | public MessageChannel createMessageChannel(String host, int port)(Code) | | Create and return new TCPMessageChannel for the given host/port.
Parameters: host - target host Parameters: port - target port the new message channel |
getPort | public int getPort()(Code) | | Gets the port from which the UDPMessageProcessor is reading messages
Port from which the udp message processor isreading messages. |
getTransport | public String getTransport()(Code) | | Returns the transport string.
the transport string |
isSecure | public boolean isSecure()(Code) | | UDP is not a secure protocol.
always false |
run | public void run()(Code) | | Thread main routine.
|
start | public synchronized void start()(Code) | | Starts our processor thread.
|
stop | public synchronized void stop()(Code) | | Stops the message processor.
|
Fields inherited from gov.nist.siplite.stack.MessageProcessor | boolean exitFlag(Code)(Java Doc)
|
|
|
|