Modifier and Type | Method and Description |
---|---|
void |
startListening(String host,
int port)
Starts the configuration server so it listens at the interface specified
by the
host and port . |
void |
stopListening()
Shuts down the configuration server.
|
void startListening(String host, int port) throws IOException
host
and port
.IOException
- if it fails to listenvoid stopListening()
Request
s will
be accepted after this is called, but existing ones may be processed to
completion.Copyright © 2018. All rights reserved.