Package | Description |
---|---|
org.jgroups.blocks.cs |
This package contains all client-server related interfaces and classes
|
org.jgroups.demos |
Provides demonstrations of JGroups functionality.
|
org.jgroups.stack |
Support for managing protocol stacks.
|
Modifier and Type | Class and Description |
---|---|
class |
NioConnection
An NIO based impl of
Connection |
class |
TcpConnection
Blocking IO (BIO) connection.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Address,Connection> |
BaseServer.conns |
Modifier and Type | Method and Description |
---|---|
protected abstract Connection |
BaseServer.createConnection(Address dest)
Creates a new connection object to target dest, but doesn't yet connect it
|
Connection |
BaseServer.getConnection(Address dest)
Creates a new connection to dest, or returns an existing one
|
Modifier and Type | Method and Description |
---|---|
void |
BaseServer.addConnection(Address peer_addr,
Connection conn) |
void |
BaseServer.closeConnection(Connection conn,
java.lang.Throwable ex) |
void |
BaseServer.connectionClosed(Connection conn,
java.lang.String reason) |
void |
TcpClient.connectionClosed(Connection conn,
java.lang.String cause) |
void |
ConnectionListener.connectionClosed(Connection conn,
java.lang.String reason) |
void |
BaseServer.connectionEstablished(Connection conn) |
void |
TcpClient.connectionEstablished(Connection conn) |
void |
ConnectionListener.connectionEstablished(Connection conn) |
void |
BaseServer.notifyConnectionClosed(Connection conn,
java.lang.String cause) |
void |
BaseServer.notifyConnectionEstablished(Connection conn) |
void |
BaseServer.removeConnectionIfPresent(Address address,
Connection conn)
Only removes the connection if conns.get(address) == conn
|
void |
BaseServer.replaceConnection(Address address,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
PubClient.connectionClosed(Connection conn,
java.lang.String cause) |
void |
PubClient.connectionEstablished(Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
GossipRouter.connectionClosed(Connection conn,
java.lang.String reason) |
void |
RouterStub.connectionClosed(Connection conn,
java.lang.String reason) |
void |
GossipRouter.connectionEstablished(Connection conn) |
void |
RouterStub.connectionEstablished(Connection conn) |
Copyright © 1998-2020 Red Hat. All Rights Reserved.