public class NettyFabricServer extends java.lang.Object implements FabricServer
| Modifier and Type | Class and Description |
|---|---|
protected class |
NettyFabricServer.ChildChannelInitializer |
protected class |
NettyFabricServer.PostBindChannelFutureListener |
protected class |
NettyFabricServer.PostShutdownChannelListener |
| Constructor and Description |
|---|
NettyFabricServer(FabricAgentRegistry fabricAgentRegistry,
NettyFabricServerConfig nettyFabricServerConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.util.concurrent.EventExecutorGroup |
createEventExecutorGroup(int threadCount,
java.lang.String threadPoolName) |
void |
start() |
java.util.concurrent.Future<?> |
stop() |
public NettyFabricServer(FabricAgentRegistry fabricAgentRegistry, NettyFabricServerConfig nettyFabricServerConfig)
public void start()
throws java.lang.Exception
start in interface FabricServerjava.lang.Exceptionpublic java.util.concurrent.Future<?> stop()
throws java.lang.InterruptedException
stop in interface FabricServerjava.lang.InterruptedExceptionprotected io.netty.util.concurrent.EventExecutorGroup createEventExecutorGroup(int threadCount,
java.lang.String threadPoolName)