Package | Description |
---|---|
org.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
org.jgroups.blocks.cs |
This package contains all client-server related interfaces and classes
|
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.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Field and Description |
---|---|
protected SocketFactory |
Channel.socket_factory |
Modifier and Type | Method and Description |
---|---|
SocketFactory |
Channel.getSocketFactory() |
Modifier and Type | Method and Description |
---|---|
void |
Channel.setSocketFactory(SocketFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected SocketFactory |
BasicConnectionTable.socket_factory |
Modifier and Type | Method and Description |
---|---|
SocketFactory |
BasicConnectionTable.getSocketFactory() |
Modifier and Type | Method and Description |
---|---|
void |
BasicConnectionTable.setSocketFactory(SocketFactory socket_factory) |
Modifier and Type | Field and Description |
---|---|
protected SocketFactory |
TcpBaseServer.socket_factory |
Modifier and Type | Method and Description |
---|---|
SocketFactory |
TcpBaseServer.socketFactory() |
Modifier and Type | Method and Description |
---|---|
TcpBaseServer |
TcpBaseServer.socketFactory(SocketFactory factory) |
Constructor and Description |
---|
TcpClient(ThreadFactory thread_factory,
SocketFactory socket_factory) |
TcpServer(ThreadFactory thread_factory,
SocketFactory socket_factory) |
TcpServer(ThreadFactory thread_factory,
SocketFactory socket_factory,
java.net.InetAddress bind_addr,
int srv_port,
int end_port,
java.net.InetAddress external_addr,
int external_port)
Creates an instance of
TcpServer that creates a server socket and listens for connections
Needs to be started next. |
Modifier and Type | Field and Description |
---|---|
protected SocketFactory |
TP.socket_factory |
protected SocketFactory |
TP.ProtocolAdapter.socket_factory |
Modifier and Type | Method and Description |
---|---|
SocketFactory |
TP.getSocketFactory() |
SocketFactory |
TP.ProtocolAdapter.getSocketFactory() |
Modifier and Type | Method and Description |
---|---|
void |
TP.setSocketFactory(SocketFactory factory) |
void |
TP.ProtocolAdapter.setSocketFactory(SocketFactory factory) |
void |
TCP.setSocketFactory(SocketFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected SocketFactory |
DiagnosticsHandler.socket_factory |
Modifier and Type | Method and Description |
---|---|
SocketFactory |
Protocol.getSocketFactory()
Returns the SocketFactory associated with this protocol, if overridden in a subclass, or passes the call down
|
Modifier and Type | Method and Description |
---|---|
void |
Protocol.setSocketFactory(SocketFactory factory)
Sets a SocketFactory.
|
Constructor and Description |
---|
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) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSocketFactory
Default implementation, ignores service names
|
Modifier and Type | Method and Description |
---|---|
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) |
static java.net.ServerSocket |
Util.createServerSocketAndBind(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.
|
Copyright © 1998-2020 Red Hat. All Rights Reserved.