Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
强制服务器关闭。
void ServerContext.shutdown()
任何已注册的 [ShutdownListener] 对象的 [shutdownPerformed] 方法都将被调用。
以下代码强制服务器关闭:
ServerContext serverContext; serverContext.shutdown();