Package org.jgroups.protocols
Class SimpleTCP.Acceptor
- java.lang.Object
-
- org.jgroups.protocols.SimpleTCP.Acceptor
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- SimpleTCP
protected class SimpleTCP.Acceptor extends java.lang.Object implements java.lang.Runnable
Calls ServerSocket.accept() and creates new Connection objects
-
-
Constructor Summary
Constructors Constructor Description Acceptor(java.net.InetAddress bind, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
protected void
start()
protected void
stop()
-
-
-
Field Detail
-
bind
protected final java.net.InetAddress bind
-
port
protected final int port
-
runner
protected Runner runner
-
-