| Modifier and Type | Method and Description |
|---|---|
ProtocolConnection |
getLocalConnection()
Returns local connection to the primary API provider.
|
void |
run()
Runs the server.
|
void |
stop()
Stops the server.
|
boolean |
waitForShutdown(long timeoutMillis)
Wait for the server shutdown to complete.
|
void stop()
boolean waitForShutdown(long timeoutMillis)
throws InterruptedException
true immediately.timeoutMillis - maximum time to wait for the shutdown to
complete (in milliseconds)InterruptedException - the wait has been interruptedProtocolConnection getLocalConnection()
Copyright © 2023. All rights reserved.