程序包 | 说明 |
---|---|
com.fr.third.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
com.fr.third.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
com.fr.third.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
com.fr.third.jgroups.stack |
Support for managing protocol stacks.
|
com.fr.third.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
限定符和类型 | 字段和说明 |
---|---|
protected SocketFactory |
Channel.socket_factory |
限定符和类型 | 方法和说明 |
---|---|
SocketFactory |
Channel.getSocketFactory() |
限定符和类型 | 方法和说明 |
---|---|
void |
Channel.setSocketFactory(SocketFactory factory) |
限定符和类型 | 字段和说明 |
---|---|
protected SocketFactory |
TCPConnectionMap.socket_factory |
protected SocketFactory |
BasicConnectionTable.socket_factory |
限定符和类型 | 方法和说明 |
---|---|
SocketFactory |
TCPConnectionMap.getSocketFactory() |
SocketFactory |
BasicConnectionTable.getSocketFactory() |
限定符和类型 | 方法和说明 |
---|---|
void |
TCPConnectionMap.setSocketFactory(SocketFactory factory) |
void |
BasicConnectionTable.setSocketFactory(SocketFactory socket_factory) |
构造器和说明 |
---|
TCPConnectionMap(java.lang.String service_name,
ThreadFactory f,
SocketFactory socket_factory,
TCPConnectionMap.Receiver r,
java.net.InetAddress bind_addr,
java.net.InetAddress external_addr,
int external_port,
int srv_port,
int max_port) |
TCPConnectionMap(java.lang.String service_name,
ThreadFactory f,
SocketFactory socket_factory,
TCPConnectionMap.Receiver r,
java.net.InetAddress bind_addr,
java.net.InetAddress external_addr,
int external_port,
int srv_port,
int max_port,
long reaper_interval,
long conn_expire_time) |
限定符和类型 | 字段和说明 |
---|---|
protected SocketFactory |
TP.socket_factory |
protected SocketFactory |
TP.ProtocolAdapter.socket_factory |
限定符和类型 | 方法和说明 |
---|---|
SocketFactory |
TP.getSocketFactory() |
SocketFactory |
TP.ProtocolAdapter.getSocketFactory() |
限定符和类型 | 方法和说明 |
---|---|
void |
TP.setSocketFactory(SocketFactory factory) |
void |
TP.ProtocolAdapter.setSocketFactory(SocketFactory factory) |
void |
TCP.setSocketFactory(SocketFactory factory) |
限定符和类型 | 字段和说明 |
---|---|
protected SocketFactory |
DiagnosticsHandler.socket_factory |
限定符和类型 | 方法和说明 |
---|---|
SocketFactory |
Protocol.getSocketFactory()
Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call down
|
限定符和类型 | 方法和说明 |
---|---|
void |
Protocol.setSocketFactory(SocketFactory factory)
Sets a SocketFactory.
|
构造器和说明 |
---|
DiagnosticsHandler(java.net.InetAddress diagnostics_addr,
int diagnostics_port,
java.util.List<java.net.NetworkInterface> bind_interfaces,
int diagnostics_ttl,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory,
java.lang.String passcode) |
DiagnosticsHandler(java.net.InetAddress diagnostics_addr,
int diagnostics_port,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory) |
DiagnosticsHandler(java.net.InetAddress diagnostics_addr,
int diagnostics_port,
Log log,
SocketFactory socket_factory,
ThreadFactory thread_factory,
java.lang.String passcode) |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultSocketFactory
Default implementation, ignores service names
|
限定符和类型 | 方法和说明 |
---|---|
static java.net.DatagramSocket |
Util.createDatagramSocket(SocketFactory factory,
java.lang.String service_name,
java.net.InetAddress addr,
int port)
Creates a DatagramSocket bound to addr.
|
static java.net.MulticastSocket |
Util.createMulticastSocket(SocketFactory factory,
java.lang.String service_name,
java.net.InetAddress mcast_addr,
int port,
Log log) |
static java.net.ServerSocket |
Util.createServerSocket(SocketFactory factory,
java.lang.String service_name,
java.net.InetAddress bind_addr,
int start_port) |
static java.net.ServerSocket |
Util.createServerSocket(SocketFactory factory,
java.lang.String service_name,
java.net.InetAddress bind_addr,
int start_port,
int end_port)
Finds first available port starting at start_port and returns server
socket.
|