|
Jive Messenger 2.2.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.jivesoftware.messenger.net.SSLSocketAcceptThread
public class SSLSocketAcceptThread
Implements a network front end with a dedicated thread reading each incoming socket.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
DEFAULT_PORT
The default Jabber socket |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SSLSocketAcceptThread(ConnectionManager connManager,
ServerPort serverPort)
Creates an instance using the default port, TLS transport security, and JVM defaults for all security settings. |
Method Summary | |
---|---|
int |
getPort()
Retrieve the port this server socket is bound to. |
ServerPort |
getServerPort()
Returns information about the port on which the server is listening for connections. |
void |
run()
About as simple as it gets. |
void |
shutdown()
Unblock the thread and force it to terminate. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_PORT
Constructor Detail |
---|
public SSLSocketAcceptThread(ConnectionManager connManager, ServerPort serverPort) throws IOException
connManager
- the connection manager that will manage connections
generated by this thread
IOException
- if there was trouble initializing the SSL configuration.Method Detail |
---|
public int getPort()
public ServerPort getServerPort()
public void shutdown()
public void run()
run
in interface Runnable
run
in class Thread
|
Jive Messenger 2.2.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |