SaslSocketServer
instead.@Deprecated public class SocketServer extends Thread implements Server
Thread.State, Thread.UncaughtExceptionHandler
MAX_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, yield
public SocketServer(Responder responder, SocketAddress addr) throws IOException
IOException
public int getPort()
Server
public void run()
public void close()
Server
protected Transceiver getTransceiver(SocketChannel channel) throws IOException
Transceiver
for this server. Returns a
SocketTransceiver
by default.IOException
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.