Close out any resources associated with the ServerChannel
Close out any resources associated with the ServerChannel
Regardless of the number of times close()
is called
this method will only be called once.
The bound socket address for this ServerChannel
Add code to be executed when the ServerChannel is closed
Add code to be executed when the ServerChannel is closed
hook to execute on shutdown
true if the hook was successfully registered, false otherwise.
There are no guarantees as to order of shutdown hook execution or that they will be executed sequentially.
Close the ServerChannel and execute any shutdown hooks
Close the ServerChannel and execute any shutdown hooks
this method is idempotent
Wait for this server channel to close, including execution of all successfully registered shutdown hooks.
Representation of a bound server