public class TLSMessageProcessor extends ConnectionOrientedMessageProcessor implements Runnable
incomingMessageChannels, isRunning, messageChannels, nConnections, sock, useCountIN_ADDR_ANY, IN6_ADDR_ANY, sipStack, transport| Modifier | Constructor and Description |
|---|---|
protected |
TLSMessageProcessor(InetAddress ipAddress,
SIPTransactionStack sipStack,
int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MessageChannel |
createMessageChannel(HostPort targetHostPort)
Create a message channel for the specified host/port.
|
MessageChannel |
createMessageChannel(InetAddress host,
int port)
Create a message channel for the specified host/port.
|
int |
getDefaultTargetPort()
Default target port for TLS
|
boolean |
isSecure()
TLS is a secure protocol.
|
void |
run()
Run method for the thread that gets created for each accept socket.
|
void |
start()
Start the processor.
|
void |
stop()
Stop the message processor.
|
cacheMessageChannel, closeReliableConnection, getMaximumMessageSize, getSIPStack, inUse, remove, setKeepAliveTimeout, validatePortInRangegetDefaultPort, getIpAddress, getListeningPoint, getPort, getSavedIpAddress, getSentBy, getTransport, getViaHeader, initialize, isSentBySet, setIpAddress, setListeningPoint, setSentByprotected TLSMessageProcessor(InetAddress ipAddress, SIPTransactionStack sipStack, int port)
ipAddress - -- inet address where I am listening.sipStack - SIPStack structure.port - port where this message processor listens.public void start()
throws IOException
start in class MessageProcessorIOExceptionpublic void run()
public void stop()
stop in class MessageProcessorpublic MessageChannel createMessageChannel(HostPort targetHostPort) throws IOException
MessageProcessorcreateMessageChannel in class MessageProcessorIOExceptionpublic MessageChannel createMessageChannel(InetAddress host, int port) throws IOException
MessageProcessorcreateMessageChannel in class MessageProcessorIOExceptionpublic int getDefaultTargetPort()
getDefaultTargetPort in class MessageProcessorpublic boolean isSecure()
isSecure in class MessageProcessorCopyright © 2014. All Rights Reserved.