Package org.nustaq.net
Class TCPObjectServer
java.lang.Object
org.nustaq.net.TCPObjectServer
Created by ruedi on 22.08.14.
As socket allowing to send/receive serializable objects
see ./test/net for an example.
Note that by providing a Json configuration, it can be used cross language
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
void
setTerminated
(boolean terminated) void
start
(TCPObjectServer.NewClientListener listener)
-
Constructor Details
-
TCPObjectServer
-
TCPObjectServer
public TCPObjectServer(int port)
-
-
Method Details
-
start
- Throws:
IOException
-
dumpException
-
setTerminated
public void setTerminated(boolean terminated) -
isTerminated
public boolean isTerminated()
-