Start a standalone server. @param serverPort Port. @throws IOException if failed to bind localhost:port.
(int serverPort)
| 57 | * @throws IOException if failed to bind localhost:port. |
| 58 | */ |
| 59 | public Server(int serverPort) throws IOException { |
| 60 | worker = new WorkerThread(new StandaloneServerProcessor(serverPort)); |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Start a server connected to proxy. |
no outgoing calls