Class GSONTCPServer
java.lang.Object
java.lang.Thread
dev.forbit.server.abstracts.TCPServer
dev.forbit.server.networks.gson.servers.GSONTCPServer
- All Implemented Interfaces:
ConnectionServer
,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 TypeMethodDescriptionDefines the Packet used for new connectionsMethods 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.forbit.server.interfaces.ConnectionServer
begin, getAddress, getPort, getServer, getString, isRunning, setRunning, shutdown, start
-
Constructor Details
-
GSONTCPServer
-
-
Method Details
-
getConnectionPacket
Description copied from class:TCPServer
Defines the Packet used for new connections- Specified by:
getConnectionPacket
in classTCPServer
- Returns:
- ConnectionPacket
-