gov.nist.javax.sip.stack
Class ConnectionOrientedMessageProcessor
java.lang.Object
gov.nist.javax.sip.stack.MessageProcessor
gov.nist.javax.sip.stack.ConnectionOrientedMessageProcessor
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TCPMessageProcessor, TLSMessageProcessor
public abstract class ConnectionOrientedMessageProcessor
- extends MessageProcessor
- Author:
- jean.deruelle@gmail.com
| Methods inherited from class gov.nist.javax.sip.stack.MessageProcessor |
createMessageChannel, createMessageChannel, getDefaultPort, getDefaultTargetPort, getIpAddress, getListeningPoint, getPort, getSavedIpAddress, getSentBy, getTransport, getViaHeader, initialize, isSecure, isSentBySet, run, setListeningPoint, setSentBy, start, stop |
ConnectionOrientedMessageProcessor
public ConnectionOrientedMessageProcessor(InetAddress ipAddress,
int port,
String transport,
SIPTransactionStack sipStack)
getSIPStack
public SIPTransactionStack getSIPStack()
- Returns the stack.
- Specified by:
getSIPStack in class MessageProcessor
- Returns:
- my sip stack.
getMaximumMessageSize
public int getMaximumMessageSize()
- TCP can handle an unlimited number of bytes.
- Specified by:
getMaximumMessageSize in class MessageProcessor
inUse
public boolean inUse()
- Description copied from class:
MessageProcessor
- Return true if there are pending messages to be processed (which prevents
the message channel from being closed).
- Specified by:
inUse in class MessageProcessor
closeReliableConnection
public boolean closeReliableConnection(String peerAddress,
int peerPort)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setKeepAliveTimeout
public boolean setKeepAliveTimeout(String peerAddress,
int peerPort,
long keepAliveTimeout)
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.