| Constructor and Description |
|---|
SimpleSocketServer(int ports) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractClientHandler |
newClientHandler(Socket socket)
Factory method for creating the new
AbstractClientHandler for
handling requests. |
void |
run() |
public SimpleSocketServer(int ports)
throws IOException
IOExceptionprotected AbstractClientHandler newClientHandler(Socket socket)
AbstractClientHandler for
handling requests. This method is invoked in the run method and can be
overridden so users can provide their own version of a new new
AbstractClientHandler for custom handling requests.socket - the socketAbstractClientHandler for handling requests.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.