| Modifier and Type | Method and Description |
|---|---|
void |
shutdown()
Initiates an orderly shutdown of the server.
|
void |
start(ServerListener serverListener)
Starts transport.
|
public void start(ServerListener serverListener) throws IOException
Serverlistener until after start()
returns. The method only returns after it has done the equivalent of bind()ing, so it will be
able to service any connections created after returning.start in interface ServerserverListener - non-null listener of server eventsIOException - if unable to bindpublic void shutdown()
ServerServerListener.serverShutdown() callback called).