Uses of Class
org.jgroups.blocks.cs.Connection
-
Packages that use Connection Package Description org.jgroups.blocks.cs org.jgroups.demos Provides demonstrations of JGroups functionality.org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.stack Support for managing protocol stacks. -
-
Uses of Connection in org.jgroups.blocks.cs
Subclasses of Connection in org.jgroups.blocks.cs Modifier and Type Class Description class
NioConnection
An NIO based impl ofConnection
class
TcpConnection
Blocking IO (BIO) connection.class
TcpConnectionNonBlocking
TCP connection which (despite the fancy name) blocks only a single thread at most.Fields in org.jgroups.blocks.cs with type parameters of type Connection Modifier and Type Field Description protected java.util.Map<Address,Connection>
BaseServer. conns
Methods in org.jgroups.blocks.cs that return Connection Modifier and Type Method Description protected abstract Connection
BaseServer. createConnection(Address dest)
Creates a new connection object to target dest, but doesn't yet connect itConnection
BaseServer. getConnection(Address dest)
Creates a new connection to dest, or returns an existing oneConnection
BaseServer. getConnection(Address dest, boolean retry)
Methods in org.jgroups.blocks.cs with parameters of type Connection Modifier and Type Method Description void
BaseServer. addConnection(Address peer_addr, Connection conn)
void
BaseServer. closeConnection(Connection conn)
void
BaseServer. closeConnection(Connection conn, boolean notify)
protected static boolean
BaseServer. connected(Connection c)
void
BaseServer. connectionClosed(Connection conn)
void
ConnectionListener. connectionClosed(Connection conn)
void
TcpClient. connectionClosed(Connection conn)
void
BaseServer. connectionEstablished(Connection conn)
void
ConnectionListener. connectionEstablished(Connection conn)
void
BaseServer. notifyConnectionClosed(Connection conn)
void
BaseServer. notifyConnectionEstablished(Connection conn)
void
BaseServer. removeConnectionIfPresent(Address address, Connection conn)
Only removes the connection if conns.get(address) == connvoid
BaseServer. replaceConnection(Address address, Connection conn)
Method parameters in org.jgroups.blocks.cs with type arguments of type Connection Modifier and Type Method Description void
BaseServer. forAllConnections(java.util.function.BiConsumer<Address,Connection> c)
-
Uses of Connection in org.jgroups.demos
Methods in org.jgroups.demos with parameters of type Connection Modifier and Type Method Description void
PubClient. connectionClosed(Connection conn)
void
PubClient. connectionEstablished(Connection conn)
-
Uses of Connection in org.jgroups.protocols
Methods in org.jgroups.protocols with parameters of type Connection Modifier and Type Method Description void
FD_SOCK2. connectionClosed(Connection conn)
void
FD_SOCK2. connectionEstablished(Connection conn)
-
Uses of Connection in org.jgroups.stack
Methods in org.jgroups.stack with parameters of type Connection Modifier and Type Method Description void
GossipRouter. connectionClosed(Connection conn)
void
RouterStub. connectionClosed(Connection conn)
void
GossipRouter. connectionEstablished(Connection conn)
void
RouterStub. connectionEstablished(Connection conn)
-