Package emu.grasscutter.netty
Class KcpServer
java.lang.Object
java.lang.Thread
emu.grasscutter.netty.KcpServer
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
GameServer
-
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 TypeMethodDescriptionio.netty.channel.ChannelInitializervoidonStart()voidvoidrun()voidsetServerInitializer(io.netty.channel.ChannelInitializer serverInitializer) 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
-
KcpServer
-
-
Method Details
-
getAddress
-
getServerInitializer
public io.netty.channel.ChannelInitializer getServerInitializer() -
setServerInitializer
public void setServerInitializer(io.netty.channel.ChannelInitializer serverInitializer) -
run
public void run() -
onStart
public void onStart() -
onStartFinish
public void onStartFinish()
-