Package com.apogee.dev.DuoVaders.server
Class TCPServer
java.lang.Object
java.lang.Thread
com.apogee.dev.DuoVaders.server.TCPServer
- All Implemented Interfaces:
Runnable
Serveur TCP.
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Socketprivate IContextprivate intprivate static intprivate intprivate IProtocolprivate static final StringFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
Field Details
-
nbConnections
private static int nbConnections -
TAG
- See Also:
-
maxConnections
private int maxConnections -
clientSocket
-
context
-
protocol
-
port
private int port
-
-
Constructor Details
-
TCPServer
public TCPServer(int port) -
TCPServer
-
-
Method Details