disconnect


Description:

public void disconnect ()

Closes and frees this's listening sockets.

If you are using the old Server APIs, this also includes the effect of quit.

Note that if there are currently requests in progress on this, that they will continue to be processed if this's MainContext is still running.

You can call listen, etc, after calling this function if you want to start listening again.

Parameters:

this

a Server