Class TcpConnection

java.lang.Object
org.jgroups.blocks.cs.Connection
org.jgroups.blocks.cs.TcpConnection
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
TcpConnectionNonBlocking

public class TcpConnection extends Connection
Blocking IO (BIO) connection. Starts 1 reader thread for the peer socket and blocks until data is available. Calls BaseServer.receive(Address,byte[],int,int) when data has been received.
Since:
3.6.5