Class NioTCPServer
java.lang.Object
cool.scx.tcp.NioTCPServer
-
Constructor Details
-
NioTCPServer
public NioTCPServer() -
NioTCPServer
-
-
Method Details
-
onConnect
- Specified by:
onConnectin interfaceScxTCPServer
-
start
public void start()- Specified by:
startin interfaceScxTCPServer
-
stop
public void stop()- Specified by:
stopin interfaceScxTCPServer
-
port
public int port()- Specified by:
portin interfaceScxTCPServer
-