Beispiel #1
0
 internal void Shutdown()
 {
     allChannels.Close().AwaitUninterruptibly();
     tcpServer.ReleaseExternalResources();
     udpServer.ReleaseExternalResources();
 }
Beispiel #2
0
 public virtual void Close()
 {
     allChannels.Close().AwaitUninterruptibly();
     bossGroup.ShutdownGracefully();
     workerGroup.ShutdownGracefully();
 }