public interface Server
Modifier and Type | Method and Description |
---|---|
void |
close()
Stop this server.
|
int |
getPort()
The port this server runs on.
|
void |
join()
Wait for this server to exit.
|
void |
start()
Start this server.
|
int getPort()
void start()
void close()
void join() throws InterruptedException
InterruptedException
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.