SaslSocketServer instead.@Deprecated public class SocketServer extends Thread implements Server
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SocketServer(Responder responder,
SocketAddress addr)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Stop this server.
|
int |
getPort()
Deprecated.
The port this server runs on.
|
protected Transceiver |
getTransceiver(SocketChannel channel)
Deprecated.
Creates an appropriate
Transceiver for this server. |
static void |
main(String[] arg)
Deprecated.
|
void |
run()
Deprecated.
|
activeCount, checkAccess, clone, 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, yieldpublic SocketServer(Responder responder, SocketAddress addr) throws IOException
IOExceptionpublic int getPort()
Serverpublic void run()
public void close()
Serverprotected Transceiver getTransceiver(SocketChannel channel) throws IOException
Transceiver for this server. Returns a
SocketTransceiver by default.IOExceptionCopyright © 2009–2023 The Apache Software Foundation. All rights reserved.