程序包 | 说明 |
---|---|
com.fr.third.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
com.fr.third.jgroups.fork | |
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.
|
限定符和类型 | 字段和说明 |
---|---|
protected ProtocolStack |
JChannel.prot_stack |
限定符和类型 | 方法和说明 |
---|---|
ProtocolStack |
JChannel.getProtocolStack()
Returns the protocol stack
|
abstract ProtocolStack |
Channel.getProtocolStack() |
限定符和类型 | 方法和说明 |
---|---|
void |
JChannel.setProtocolStack(ProtocolStack stack) |
限定符和类型 | 类和说明 |
---|---|
class |
ForkProtocolStack
Protocol stack which maintains the mapping between fork-channel IDs and ForkChannels
|
限定符和类型 | 方法和说明 |
---|---|
Protocol |
FORK.createForkStack(java.lang.String fork_stack_id,
ProtocolStack stack,
boolean replace_existing,
java.util.List<Protocol> protocols)
Creates a new fork-stack from protocols and adds it into the hashmap of fork-stack (key is fork_stack_id).
|
protected static java.util.List<Protocol> |
FORK.createProtocols(ProtocolStack stack,
java.util.List<ProtocolConfiguration> protocol_configs)
Creates a fork-stack from the configuration, initializes all protocols (setting values),
sets the protocol stack as top protocol, connects the protocols and calls init() on them.
|
限定符和类型 | 字段和说明 |
---|---|
protected ProtocolStack |
Protocol.stack |
限定符和类型 | 方法和说明 |
---|---|
ProtocolStack |
ProtocolStack.addProtocol(Protocol prot)
Adds a protocol at the tail of the protocol list
|
ProtocolStack |
ProtocolStack.addProtocols(java.util.List<Protocol> prots)
Adds a list of protocols
|
ProtocolStack |
ProtocolStack.addProtocols(Protocol... prots)
Adds a list of protocols
|
ProtocolStack |
ProtocolStack.bottomProtocol(Protocol bottom) |
ProtocolStack |
Protocol.getProtocolStack() |
ProtocolStack |
ProtocolStack.topProtocol(Protocol top) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Protocol> |
ProtocolStack.copyProtocols(ProtocolStack targetStack) |
protected static Protocol |
Configurator.createLayer(ProtocolStack stack,
ProtocolConfiguration config) |
static Protocol |
Configurator.createProtocol(java.lang.String prot_spec,
ProtocolStack stack)
Creates a new protocol given the protocol specification.
|
static java.util.List<Protocol> |
Configurator.createProtocols(java.util.List<ProtocolConfiguration> protocol_configs,
ProtocolStack stack)
Takes vector of ProtocolConfigurations, iterates through it, creates Protocol for
each ProtocolConfiguration and returns all Protocols in a list.
|
void |
Protocol.setProtocolStack(ProtocolStack s) |
void |
ProtocolStack.setup(ProtocolStack stack) |
static Protocol |
Configurator.setupProtocolStack(java.util.List<ProtocolConfiguration> protocol_configs,
ProtocolStack st)
The configuration string has a number of entries, separated by a ':' (colon).
|
Protocol |
Configurator.setupProtocolStack(ProtocolStack copySource) |
构造器和说明 |
---|
Configurator(ProtocolStack protocolStack) |