method

shutdown

shutdown()
public

Shuts down the server and all listening sockets. New listeners must be provided to restart the server.