Class EchoServer
java.lang.Object
org.jgroups.demos.EchoServer
Simple TCP server replying back to client with connection information (peer address etc)
- Since:
- 4.1.8
- Author:
- Bela Ban
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected ServerSocketprotected ExecutorService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected voidstart(InetAddress bind_addr, int port)
-
Field Details
-
srv_sock
-
thread_pool
-
name
-
-
Constructor Details
-
EchoServer
public EchoServer()
-
-
Method Details
-
start
- Throws:
Exception
-
main
-