Package net.sf.colossus.server
Class FileServerThread
java.lang.Object
java.lang.Thread
net.sf.colossus.server.FileServerThread
- All Implemented Interfaces:
Runnable
Thread handling the distribution of files to clients.
- Author:
- Romain Dolbeau
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ServerSocket
private boolean
private static final Logger
private final int
private static final String
private final Server
Fields 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, toString, yield
-
Field Details
-
LOGGER
-
fileServer
-
separator
- See Also:
-
server
-
port
private final int port -
keepGoingOn
private boolean keepGoingOn
-
-
Constructor Details
-
FileServerThread
FileServerThread(Server server, int port)
-
-
Method Details