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 |
---|---|
List<ProtocolConfiguration> |
XmlConfigurator.getProtocolStack() |
List<ProtocolConfiguration> |
ProtocolStackConfigurator.getProtocolStack() |
List<ProtocolConfiguration> |
PlainConfigurator.getProtocolStack() |
static List<ProtocolConfiguration> |
XmlConfigurator.parseProtocols(Element root_element) |
Constructor and Description |
---|
XmlConfigurator(List<ProtocolConfiguration> protocols) |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<ProtocolConfiguration>> |
ForkConfig.parse(InputStream input)
Parses the input and returns a map of fork-stack IDs and lists of ProtocolConfigurations
|
static Map<String,List<ProtocolConfiguration>> |
ForkConfig.parse(Node root) |
Modifier and Type | Method and Description |
---|---|
protected static void |
ForkConfig.parseForkStack(Map<String,List<ProtocolConfiguration>> map,
Node root) |
Modifier and Type | Method and Description |
---|---|
protected void |
FORK.createForkStacks(Map<String,List<ProtocolConfiguration>> protocols) |
protected static List<Protocol> |
FORK.createProtocols(ProtocolStack stack,
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 List<ProtocolConfiguration> |
Configurator.parseConfigurations(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 Map<String,Map<String,Configurator.InetAddressInfo>> |
Configurator.createInetAddressMap(List<ProtocolConfiguration> protocol_configs,
List<Protocol> protocols) |
static List<Protocol> |
Configurator.createProtocols(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 String |
Configurator.printConfigurations(Collection<ProtocolConfiguration> configs) |
static void |
Configurator.setDefaultValues(List<ProtocolConfiguration> protocol_configs,
List<Protocol> protocols,
StackType ip_version) |
void |
ProtocolStack.setup(List<ProtocolConfiguration> configs) |
Protocol |
Configurator.setupProtocolStack(List<ProtocolConfiguration> config) |
static Protocol |
Configurator.setupProtocolStack(List<ProtocolConfiguration> protocol_configs,
ProtocolStack st)
The configuration string has a number of entries, separated by a ':' (colon).
|
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.