|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nist.javax.sip.stack.MessageProcessor
gov.nist.javax.sip.stack.TLSMessageProcessor
Sit in a loop waiting for incoming tls connections and start a new thread to handle each new connection. This is the active object that creates new TLS MessageChannels (one for each new accept socket).
| Method Summary | |
MessageChannel |
createMessageChannel(gov.nist.core.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 |
int |
getMaximumMessageSize()
TLS can handle an unlimited number of bytes. |
SIPTransactionStack |
getSIPStack()
Returns the stack. |
boolean |
inUse()
Return true if there are pending messages to be processed (which prevents the message channel from being closed). |
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. |
| Methods inherited from class gov.nist.javax.sip.stack.MessageProcessor |
getDefaultPort, getIPAddress, getListeningPoint, getPort, getSentBy, getTransport, getViaHeader, isSentBySet, setListeningPoint, setSentBy |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void start()
throws IOException
start in class MessageProcessorIOExceptionpublic void run()
run in interface Runnablerun in class MessageProcessorpublic SIPTransactionStack getSIPStack()
getSIPStack in class MessageProcessorpublic void stop()
stop in class MessageProcessor
public MessageChannel createMessageChannel(gov.nist.core.HostPort targetHostPort)
throws IOException
MessageProcessor
createMessageChannel in class MessageProcessorIOException
public MessageChannel createMessageChannel(InetAddress host,
int port)
throws IOException
MessageProcessor
createMessageChannel in class MessageProcessorIOExceptionpublic int getMaximumMessageSize()
getMaximumMessageSize in class MessageProcessorpublic boolean inUse()
MessageProcessor
inUse in class MessageProcessorpublic int getDefaultTargetPort()
getDefaultTargetPort in class MessageProcessorpublic boolean isSecure()
isSecure in class MessageProcessor
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||