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, setSentBy
public SCTPMessageProcessor()
public MessageChannel createMessageChannel(HostPort targetHostPort) throws IOException
MessageProcessor
createMessageChannel
in class MessageProcessor
IOException
public MessageChannel createMessageChannel(InetAddress targetHost, int port) throws IOException
MessageProcessor
createMessageChannel
in class MessageProcessor
IOException
public int getDefaultTargetPort()
MessageProcessor
getDefaultTargetPort
in class MessageProcessor
public int getMaximumMessageSize()
MessageProcessor
getMaximumMessageSize
in class MessageProcessor
public SIPTransactionStack getSIPStack()
MessageProcessor
getSIPStack
in class MessageProcessor
public boolean inUse()
MessageProcessor
inUse
in class MessageProcessor
public boolean isSecure()
MessageProcessor
isSecure
in class MessageProcessor
public void start() throws IOException
MessageProcessor
start
in class MessageProcessor
IOException
public void stop()
MessageProcessor
stop
in class MessageProcessor
Copyright © 2015. All Rights Reserved.