Class ClassicTCPServer
java.lang.Object
cool.scx.tcp.ClassicTCPServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononConnect(Consumer<ScxTCPSocket> connectHandler) voidstart()voidstop()
-
Constructor Details
-
ClassicTCPServer
public ClassicTCPServer() -
ClassicTCPServer
-
-
Method Details
-
onConnect
- Specified by:
onConnectin interfaceScxTCPServer
-
start
public void start()- Specified by:
startin interfaceScxTCPServer
-
stop
public void stop()- Specified by:
stopin interfaceScxTCPServer
-
localAddress
- Specified by:
localAddressin interfaceScxTCPServer
-