Package | Description |
---|---|
org.jgroups.conf |
Provides ways to configure a protocol stack.
|
org.jgroups.fork | |
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ProtocolConfiguration> |
PlainConfigurator.getProtocolStack() |
java.util.List<ProtocolConfiguration> |
ProtocolStackConfigurator.getProtocolStack() |
java.util.List<ProtocolConfiguration> |
XmlConfigurator.getProtocolStack() |
static java.util.List<ProtocolConfiguration> |
XmlConfigurator.parseProtocols(org.w3c.dom.Element root_element) |
Constructor and Description |
---|
XmlConfigurator(java.util.List<ProtocolConfiguration> protocols) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> |
ForkConfig.parse(java.io.InputStream input)
Parses the input and returns a map of fork-stack IDs and lists of ProtocolConfigurations
|
static java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> |
ForkConfig.parse(org.w3c.dom.Node root) |
Modifier and Type | Method and Description |
---|---|
protected static void |
ForkConfig.parseForkStack(java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> map,
org.w3c.dom.Node root) |
Modifier and Type | Method and Description |
---|---|
protected void |
FORK.createForkStacks(java.util.Map<java.lang.String,java.util.List<ProtocolConfiguration>> protocols) |
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.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ProtocolConfiguration> |
Configurator.parseConfigurations(java.lang.String configuration)
Return a number of ProtocolConfigurations in a vector
|
Modifier and Type | Method and Description |
---|---|
protected static Protocol |
Configurator.createLayer(ProtocolStack stack,
ProtocolConfiguration config) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,Configurator.InetAddressInfo>> |
Configurator.createInetAddressMap(java.util.List<ProtocolConfiguration> protocol_configs,
java.util.List<Protocol> protocols) |
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.
|
static java.lang.String |
Configurator.printConfigurations(java.util.Collection<ProtocolConfiguration> configs) |
static void |
Configurator.setDefaultValues(java.util.List<ProtocolConfiguration> protocol_configs,
java.util.List<Protocol> protocols,
StackType ip_version) |
void |
ProtocolStack.setup(java.util.List<ProtocolConfiguration> configs) |
Protocol |
Configurator.setupProtocolStack(java.util.List<ProtocolConfiguration> config) |
static Protocol |
Configurator.setupProtocolStack(java.util.List<ProtocolConfiguration> protocol_configs,
ProtocolStack st)
The configuration string has a number of entries, separated by a ':' (colon).
|
Copyright © 1998-2020 Red Hat. All Rights Reserved.