Package com.houseofkraft.nsp.networking
Class ConnectionManager
java.lang.Object
java.lang.Thread
com.houseofkraft.nsp.networking.ConnectionManager
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()This ConnectionManager is a global Client Manager that monitors if any Client has been removed from the Socket for any reason, such as being kicked, banned, timed out, etc.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
-
Constructor Details
-
ConnectionManager
ConnectionManager()
-
-
Method Details
-
run
public void run()This ConnectionManager is a global Client Manager that monitors if any Client has been removed from the Socket for any reason, such as being kicked, banned, timed out, etc. If so, then the Socket will be properly closed and the Client will be removed from the connection list.
-