public final class SCTPMessageProcessor extends MessageProcessor implements Runnable
IN_ADDR_ANY, IN6_ADDR_ANY, sipStack, transport| Constructor and Description |
|---|
SCTPMessageProcessor()
Constructor, called via Class.newInstance() by SIPTransactionStack
|
| Modifier and Type | Method and Description |
|---|---|
MessageChannel |
createMessageChannel(HostPort targetHostPort)
Create a message channel for the specified host/port.
|
MessageChannel |
createMessageChannel(InetAddress targetHost,
int port)
Create a message channel for the specified host/port.
|
int |
getDefaultTargetPort()
Default target port used by this processor.
|
int |
getMaximumMessageSize()
Maximum number of bytes that this processor can handle.
|
SIPTransactionStack |
getSIPStack()
Get the SIP Stack.
|
boolean |
inUse()
Return true if there are pending messages to be processed (which prevents
the message channel from being closed).
|
boolean |
isSecure()
Flags whether this processor is secure or not.
|
void |
run() |
void |
start()
Start our thread.
|
void |
stop()
Stop method.
|
getDefaultPort, getIpAddress, getListeningPoint, getPort, getSavedIpAddress, getSentBy, getTransport, getViaHeader, initialize, isSentBySet, setIpAddress, setListeningPoint, setSentBypublic SCTPMessageProcessor()
public MessageChannel createMessageChannel(HostPort targetHostPort) throws IOException
MessageProcessorcreateMessageChannel in class MessageProcessorIOExceptionpublic MessageChannel createMessageChannel(InetAddress targetHost, int port) throws IOException
MessageProcessorcreateMessageChannel in class MessageProcessorIOExceptionpublic int getDefaultTargetPort()
MessageProcessorgetDefaultTargetPort in class MessageProcessorpublic int getMaximumMessageSize()
MessageProcessorgetMaximumMessageSize in class MessageProcessorpublic SIPTransactionStack getSIPStack()
MessageProcessorgetSIPStack in class MessageProcessorpublic boolean inUse()
MessageProcessorinUse in class MessageProcessorpublic boolean isSecure()
MessageProcessorisSecure in class MessageProcessorpublic void start()
throws IOException
MessageProcessorstart in class MessageProcessorIOExceptionpublic void stop()
MessageProcessorstop in class MessageProcessorCopyright © 2014. All Rights Reserved.