|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread ikrs.yuccasrv.socketmngr.ServerSocketThread
public class ServerSocketThread
The ServerSocketThread class implements a Runnable object to wrap the basic server into a concurrent thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
DEFAULT_BACKLOG
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
ServerSocketThread(CustomLogger logger,
java.net.InetAddress bindAddress,
int bindPort,
Environment<java.lang.String,BasicType> bindSettings,
ServerSocketThreadObserver observer)
The constructor. |
Method Summary | |
---|---|
void |
finalize()
|
java.net.InetAddress |
getBindAddress()
|
int |
getBindPort()
|
java.util.Map<java.lang.String,BasicType> |
getServerSettings()
|
java.lang.String |
getStatusString()
|
java.util.UUID |
getUUID()
|
void |
interrupt()
|
void |
run()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_BACKLOG
Constructor Detail |
---|
protected ServerSocketThread(CustomLogger logger, java.net.InetAddress bindAddress, int bindPort, Environment<java.lang.String,BasicType> bindSettings, ServerSocketThreadObserver observer) throws java.io.IOException, java.security.GeneralSecurityException
java.io.IOException
java.security.GeneralSecurityException
Method Detail |
---|
public java.util.UUID getUUID()
public java.net.InetAddress getBindAddress()
public int getBindPort()
public java.util.Map<java.lang.String,BasicType> getServerSettings()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void interrupt()
interrupt
in class java.lang.Thread
public void finalize()
finalize
in class java.lang.Object
public java.lang.String getStatusString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |