public class TLSMessageProcessor extends ConnectionOrientedMessageProcessor implements Runnable
incomingMessageChannels, isRunning, messageChannels, nConnections, sock, useCount
IN_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, validatePortInRange
getDefaultPort, getIpAddress, getListeningPoint, getPort, getSavedIpAddress, getSentBy, getTransport, getViaHeader, initialize, isSentBySet, setIpAddress, setListeningPoint, setSentBy
protected 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 MessageProcessor
IOException
public void run()
public void stop()
stop
in class MessageProcessor
public MessageChannel createMessageChannel(HostPort targetHostPort) throws IOException
MessageProcessor
createMessageChannel
in class MessageProcessor
IOException
public MessageChannel createMessageChannel(InetAddress host, int port) throws IOException
MessageProcessor
createMessageChannel
in class MessageProcessor
IOException
public int getDefaultTargetPort()
getDefaultTargetPort
in class MessageProcessor
public boolean isSecure()
isSecure
in class MessageProcessor
Copyright © 2015. All Rights Reserved.