Bind and start the server. After this call returns, clients may begin connecting to the listening socket(s). @return this object @throws IllegalStateException if already started or shut down @throws IOException if unable to bind @since 1.0.0
()
| 48 | * @since 1.0.0 |
| 49 | */ |
| 50 | public abstract Server start() throws IOException; |
| 51 | |
| 52 | /** |
| 53 | * Returns the port number the server is listening on. This can return -1 if there is no actual |