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
InterruptedExceptionCopyright © 2009–2019 The Apache Software Foundation. All rights reserved.