|
Wildfire 3.1.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.jivesoftware.wildfire.net.SocketAcceptThread
public class SocketAcceptThread
Implements a network front end with a dedicated thread reading each incoming socket. Blocking and non-blocking modes are supported. By default blocking mode is used. Use the xmpp.socket.blocking system property to change the blocking mode. Restart the server after making changes to the system property.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
DEFAULT_COMPONENT_PORT
The default XMPP port for external components. |
static int |
DEFAULT_MULTIPLEX_PORT
The default XMPP port for connection multiplex. |
static int |
DEFAULT_PORT
The default XMPP port for clients. |
static int |
DEFAULT_SERVER_PORT
The default XMPP port for server2server communication. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SocketAcceptThread(ConnectionManager connManager,
ServerPort serverPort)
|
|
| 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
public static final int DEFAULT_COMPONENT_PORT
public static final int DEFAULT_SERVER_PORT
public static final int DEFAULT_MULTIPLEX_PORT
| Constructor Detail |
|---|
public SocketAcceptThread(ConnectionManager connManager,
ServerPort serverPort)
throws IOException
IOException| Method Detail |
|---|
public int getPort()
public ServerPort getServerPort()
public void shutdown()
public void run()
run in interface Runnablerun in class Thread
|
Wildfire 3.1.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||