Package org.jgroups.blocks.cs
Class TcpServer.Acceptor
- java.lang.Object
-
- org.jgroups.blocks.cs.TcpServer.Acceptor
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- TcpServer
protected class TcpServer.Acceptor extends java.lang.Object implements java.lang.Runnable
Acceptor thread. Continuously accepts new connections, creating a new thread for each new connection and putting it in conns. When the thread should stop, it is interrupted by the thread creator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Acceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleAccept(java.net.Socket client_sock)
void
run()
-