Uses of Class
org.jgroups.stack.Protocol
-
Packages that use Protocol 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.fork org.jgroups.jmx org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.protocols.dns org.jgroups.protocols.pbcast org.jgroups.protocols.relay org.jgroups.protocols.relay.config org.jgroups.protocols.rules org.jgroups.protocols.tom org.jgroups.stack Support for managing protocol stacks.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of Protocol in org.jgroups
Methods in org.jgroups with parameters of type Protocol Modifier and Type Method Description protected java.lang.reflect.Method
JChannelProbeHandler. findMethod(Protocol prot, java.lang.String method_name, java.lang.String[] args)
Method parameters in org.jgroups with type arguments of type Protocol Modifier and Type Method Description protected static void
JChannelProbeHandler. listAllOperations(java.lang.StringBuilder sb, java.lang.Class<? extends Protocol> cl)
Constructors in org.jgroups with parameters of type Protocol Constructor Description JChannel(Protocol... protocols)
Creates a channel from an array of protocols.Constructor parameters in org.jgroups with type arguments of type Protocol Constructor Description JChannel(java.util.List<Protocol> protocols)
Creates a channel from a list of protocols. -
Uses of Protocol in org.jgroups.blocks
Fields in org.jgroups.blocks declared as Protocol Modifier and Type Field Description protected Protocol
RequestCorrelator. transport
The protocol layer to use to pass up/down messages.Methods in org.jgroups.blocks with parameters of type Protocol Modifier and Type Method Description protected static RequestCorrelator
MessageDispatcher. createRequestCorrelator(Protocol transport, RequestHandler handler, Address local_addr)
Constructors in org.jgroups.blocks with parameters of type Protocol Constructor Description RequestCorrelator(short corr_id, Protocol transport, RequestHandler handler, Address local_addr)
Constructor.RequestCorrelator(Protocol transport, RequestHandler handler, Address local_addr)
-
Uses of Protocol in org.jgroups.fork
Subclasses of Protocol in org.jgroups.fork Modifier and Type Class Description class
ForkProtocol
Acts as bottom protocol of a fork-stack.class
ForkProtocolStack
Protocol stack which maintains the mapping between fork-channel IDs and ForkChannelsFields in org.jgroups.fork with type parameters of type Protocol Modifier and Type Field Description protected java.util.List<Protocol>
ForkProtocolStack. protocols
Methods in org.jgroups.fork that return types with arguments of type Protocol Modifier and Type Method Description java.util.List<Protocol>
ForkProtocolStack. getProtocols()
Method parameters in org.jgroups.fork with type arguments of type Protocol Modifier and Type Method Description protected static FORK
ForkChannel. getFORK(JChannel ch, ProtocolStack.Position position, java.lang.Class<? extends Protocol> neighbor, boolean create_fork_if_absent)
Creates a new FORK protocol, or returns the existing one, or throws an exception.Constructors in org.jgroups.fork with parameters of type Protocol Constructor Description ForkChannel(JChannel main_channel, java.lang.String fork_stack_id, java.lang.String fork_channel_id, boolean create_fork_if_absent, ProtocolStack.Position position, java.lang.Class<? extends Protocol> neighbor, Protocol... protocols)
Creates a new fork-channel from a main-channel.ForkChannel(JChannel main_channel, java.lang.String fork_stack_id, java.lang.String fork_channel_id, Protocol... protocols)
Creates a new fork-channel from a main-channel.Constructor parameters in org.jgroups.fork with type arguments of type Protocol Constructor Description ForkChannel(JChannel main_channel, java.lang.String fork_stack_id, java.lang.String fork_channel_id, boolean create_fork_if_absent, ProtocolStack.Position position, java.lang.Class<? extends Protocol> neighbor, Protocol... protocols)
Creates a new fork-channel from a main-channel.ForkProtocolStack(UnknownForkHandler unknownForkHandler, java.util.List<Protocol> protocols, java.lang.String fork_stack_id)
-
Uses of Protocol in org.jgroups.jmx
Methods in org.jgroups.jmx with parameters of type Protocol Modifier and Type Method Description static javax.management.DynamicMBean
JmxConfigurator. wrap(Protocol p)
Wrap Protocol with DynamicMBean interface. -
Uses of Protocol in org.jgroups.protocols
Subclasses of Protocol in org.jgroups.protocols Modifier and Type Class Description class
ABP
Deprecated.Mainly used as a design study of Pluscal / TLA+class
ASYM_ENCRYPT
Encrypts and decrypts communication in JGroups by using a secret key distributed to all cluster members by the key server (coordinator) using asymmetric (public/private key) encryption.
The secret key is identical for all cluster members and is used to encrypt messages when sending and decrypt them when receiving messages.class
AUTH
The AUTH protocol adds a layer of authentication to JGroups.class
BARRIER
All messages up the stack have to go through a barrier (read lock, RL).class
BasicTCP
Shared base class for TCP protocolsclass
BPING
Broadcast PING.class
CENTRAL_EXECUTOR
This is a central executor service where each request is sent to the coordinator for either a task or a current waiting thread.class
CENTRAL_LOCK
Implementation of a locking protocol which acquires locks by contacting the coordinator.class
CENTRAL_LOCK2
Implementation of a locking protocol which acquires locks by asking the coordinator.
Because the coordinator maintains all locks, no total ordering of requests is required.
CENTRAL_LOCK2 has all members send lock and unlock requests to the current coordinator.class
CLEAR_FLAGS
Protocol which clears the given flags in the down direction for all messagesclass
COMPRESS
Compresses the payload of a message.class
COUNTER
Protocol which is used byCounterService
to provide a distributed atomic counterclass
DAISYCHAIN
Implementation of daisy chaining.class
DELAY
Delays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user) and nanoseconds (constant amount).class
DELIVERY_TIME
Protocol measuring delivery times.class
DETECT_LOOPBACKS
Detects unicast loopbacks: messages where dest == local addressclass
DH_KEY_EXCHANGE
Key exchange based on Diffie-Hellman-Merkle (https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange).
Diffie-Hellman is used between a member and a key server (the coordinator) to obtain a session key (only known to the key server and the joiner) which is used by the key server to encrypt the shared secret symmetric (group) key and by the requester to decrypt the group key it gets in the response of the key server.class
DISCARD
Discards up or down messages based on a percentage; e.g., setting property 'up' to 0.1 causes 10% of all up messages to be discarded.class
DISCARD_PAYLOAD
Discards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it down.class
Discovery
The Discovery protocol retrieves the initial membership (used by GMS and MERGE3) by sending discovery requests.class
DROP
Protocol which drops up or down messages according to user-defined filtersclass
DUPL
Duplicates outgoing or incoming messages by copying themclass
Encrypt<E extends java.security.KeyStore.Entry>
Super class of symmetric (SYM_ENCRYPT
) and asymmetric (ASYM_ENCRYPT
) encryption protocols.class
EXAMPLE
Example of a protocol layer.class
Executing
This is the base protocol used for executions.class
FailureDetection
class
FD
Failure detection based on simple heartbeat protocol.class
FD_ALL
Failure detection based on simple heartbeat protocol.class
FD_ALL2
Failure detection based on simple heartbeat protocol.class
FD_ALL3
Failure detection based on simple heartbeat protocol.class
FD_HOST
Failure detection protocol which detects the crash or hanging of entire hosts and suspects all cluster members on those hosts.class
FD_SOCK
Failure detection protocol based on sockets.class
FILE_PING
Simple discovery protocol which uses a file on shared storage such as an SMB share, NFS mount or S3.class
FlowControl
Simple flow control protocol based on a credit system.class
FORK
The FORK protocol; multiplexes messages to different forks in a stack (https://issues.jboss.org/browse/JGRP-1613).class
FORWARD_TO_COORD
Forwards a message to the current coordinator.class
FRAG
Fragmentation layer.class
FRAG2
Fragmentation layer.class
FRAG3
Fragmentation protocol which uses less memory to store fragments thanFRAG2
.
When a message is fragmented, all fragments carry the size of the original message, their offset and length with respect to the original message and a fragment ID (to identify the fragment).
When the first fragment is received, the full message is created and each fragment copies its data into the full message at its offset and length.class
GOOGLE_PING
Deprecated.Use GOOGLE_PING2 instead: https://github.com/jgroups-extras/jgroups-googleclass
HDRS
Prints the headers of all sent or received messagesclass
INJECT_VIEW
Simple protocol to inject an arbitrary view on one or more cluster nodes.class
JDBC_PING
Discovery protocol using a JDBC connection to a shared database.class
KeyExchange
Base class for protocols implementing key exchange: a secret key to be used for encryption is exchanged between 2 parties (usually the key server and a new cluster member) securely; ie.class
LOCAL_PING
Discovery protocol for finding members in the local process only.class
Locking
Base locking protocol, handling most of the protocol communication with other instances.class
MAKE_BATCH
Intercepts individual up messages and creates batches from them, passing the batches up.class
MERGE3
Protocol to discover subgroups; e.g., existing due to a network partition (that healed).class
MFC
Simple flow control protocol based on a credit system.class
MFC_NB
Non-blocking alternative toMFC
.
JIRA: JIRA: https://issues.jboss.org/browse/JGRP-2172class
MPING
Uses its own IP multicast socket to send and receive discovery requests/responses.class
MULTI_PING
Protocol to invoke multiple discovery protocols in the same stack.class
NAMING
Maintains mappings between addresses and logical names.class
PDC
Persistent Discovery Cache.class
PERF
Protocol measuring latency between stacks.class
PING
The PING protocol retrieves the initial membership by mcasting a discovery request (via the multicast capable transport) to all current cluster membersclass
RACKSPACE_PING
Discovery protocol based on Rackspace Cloud Files storage solutionclass
RATE
Measures incoming and outgoing rates: messages/sec, bytes/sec.class
RATE_LIMITER
Protocol which sends at most max_bytes in time_period milliseconds.class
RED
Implementation of Random Early Drop: messages are discarded when the bundler's queue in the transport nears exhaustion.class
RELAY
Deprecated.UseRELAY2
insteadclass
REVERSE
Reverses the next N messages that are received.class
RSVP
Protocol which implements synchronous messages (https://issues.jboss.org/browse/JGRP-1389).class
S3_PING
Deprecated.Use NATIVE_S3_PING (https://github.com/jgroups-extras/native-s3-ping) instead.class
SASL
Deprecated.Will be removed in 5.0 (not used anymore)class
SEQUENCER
Implementation of total order protocol using a sequencer.class
SEQUENCER2
Implementation of total order protocol using a sequencer_uum.class
SERIALIZE
Serializes the entire message (including payload, headers, flags and destination and src) into the payload of another message that's then sent.class
SHARED_LOOPBACK
Loopback transport shared by all channels within the same VM.class
SHARED_LOOPBACK_PING
Discovery protocol running overSHARED_LOOPBACK
only.class
SHUFFLE
Reorders messages by buffering them and shuffling the result after TIMEOUT ms.class
SimpleTCP
Bare-bones thread-per-connection TCP-based transport.class
SIZE
Protocol which prints out the real size of a message.class
SNIFF
Protocol trying to print message payloads as stringsclass
SOS
Periodically fetches some attributes and writes them to a file (https://issues.redhat.com/browse/JGRP-2402)class
SSL_KEY_EXCHANGE
Key exchange based on SSL sockets.class
STATS
Provides various statsclass
STOMP
Protocol which provides STOMP (http://stomp.codehaus.org/) support.class
SWIFT_PING
Discovery protocol based on Openstack Swift (object storage).class
SYM_ENCRYPT
Encrypts and decrypts communication in JGroups by using a secret key shared by all cluster members.class
TCP
TCP based protocol.class
TCP_NIO2
Protocol using TCP/IP to send and receive messages.class
TCPGOSSIP
The TCPGOSSIP protocol layer retrieves the initial membership (used by GMS when started by sending event FIND_INITIAL_MBRS down the stack).class
TCPPING
The TCPPING protocol defines a static cluster membership.class
TP
Generic transport - specific implementations should extend this abstract class.class
TRACE
class
TUNNEL
Replacement for UDP.class
UDP
IP multicast transport based on UDP.class
UFC
Simple flow control protocol based on a credit system.class
UFC_NB
Non-blocking alternative toUFC
.
JIRA: https://issues.jboss.org/browse/JGRP-2172class
UNICAST3
Reliable unicast protocol using a combination of positive and negative acks.class
VERIFY_SUSPECT
Catches SUSPECT events traveling up the stack.Fields in org.jgroups.protocols with type parameters of type Protocol Modifier and Type Field Description protected java.util.concurrent.ConcurrentMap<java.lang.String,Protocol>
FORK. fork_stacks
Methods in org.jgroups.protocols with type parameters of type Protocol Modifier and Type Method Description protected <T extends Protocol>
TKeyExchange. findProtocolAbove(java.lang.Class<? extends Protocol> clazz)
<T extends Protocol>
TTP. setLevel(java.lang.String level)
<T extends Protocol>
TUNICAST3. setLevel(java.lang.String level)
Methods in org.jgroups.protocols that return Protocol Modifier and Type Method Description Protocol
FORK. get(java.lang.String fork_stack_id)
Protocol
FORK. putIfAbsent(java.lang.String fork_stack_id, Protocol prot)
Methods in org.jgroups.protocols with parameters of type Protocol Modifier and Type Method Description static ForkProtocolStack
FORK. getForkStack(Protocol prot)
protected void
FORK. getStateFrom(JChannel channel, Protocol prot, java.lang.String stack, java.lang.String ch, java.io.DataOutputStream out)
Protocol
FORK. putIfAbsent(java.lang.String fork_stack_id, Protocol prot)
Method parameters in org.jgroups.protocols with type arguments of type Protocol Modifier and Type Method Description ProtocolStack
FORK. createForkStack(java.lang.String fork_stack_id, java.util.List<Protocol> protocols, boolean initialize)
Returns the fork stack for fork_stack_id (if exitstent), or creates a new fork-stack from protocols and adds it into the hashmap of fork-stack (key is fork_stack_id).protected <T extends Protocol>
TKeyExchange. findProtocolAbove(java.lang.Class<? extends Protocol> clazz)
-
Uses of Protocol in org.jgroups.protocols.dns
Subclasses of Protocol in org.jgroups.protocols.dns Modifier and Type Class Description class
DNS_PING
-
Uses of Protocol in org.jgroups.protocols.pbcast
Subclasses of Protocol in org.jgroups.protocols.pbcast Modifier and Type Class Description class
FLUSH
Flush, as it name implies, forces group members to flush their pending messages while blocking them to send any additional messages.class
GMS
Group membership protocol.class
NAKACK2
Negative AcKnowledgement layer (NAKs).class
STABLE
Computes the broadcast messages that are stable; i.e., have been delivered by all members.class
STATE
STATE streams the state (written to an OutputStream) to the state requester in chunks (defined by chunk_size).class
STATE_SOCK
STATE_SOCK
has the state provider create a server socket to which the state requester connects and from which the latter reads the state.class
STATE_TRANSFER
STATE_TRANSFER protocol based on byte array transfer.class
StreamingStateTransfer
Base class for state transfer protocols which use streaming (or chunking) to transfer state between two members.Methods in org.jgroups.protocols.pbcast with type parameters of type Protocol Modifier and Type Method Description <T extends Protocol>
TNAKACK2. setLevel(java.lang.String level)
-
Uses of Protocol in org.jgroups.protocols.relay
Subclasses of Protocol in org.jgroups.protocols.relay Modifier and Type Class Description class
RELAY2
Design: ./doc/design/RELAY2.txt and at https://github.com/belaban/JGroups/blob/master/doc/design/RELAY2.txt. -
Uses of Protocol in org.jgroups.protocols.relay.config
Fields in org.jgroups.protocols.relay.config declared as Protocol Modifier and Type Field Description protected Protocol[]
RelayConfig.ProgrammaticBridgeConfig. protocols
Methods in org.jgroups.protocols.relay.config with parameters of type Protocol Modifier and Type Method Description protected static java.lang.String
RelayConfig.ProgrammaticBridgeConfig. printProtocols(Protocol[] protocols)
Constructors in org.jgroups.protocols.relay.config with parameters of type Protocol Constructor Description ProgrammaticBridgeConfig(java.lang.String cluster_name, Protocol[] prots)
-
Uses of Protocol in org.jgroups.protocols.rules
Subclasses of Protocol in org.jgroups.protocols.rules Modifier and Type Class Description class
SUPERVISOR
Deprecated.Not really needed; all of this can be done by external code, ie. -
Uses of Protocol in org.jgroups.protocols.tom
Subclasses of Protocol in org.jgroups.protocols.tom Modifier and Type Class Description class
TOA
Total Order Anycast with three communication steps (based on Skeen's Algorithm). -
Uses of Protocol in org.jgroups.stack
Subclasses of Protocol in org.jgroups.stack Modifier and Type Class Description class
ProtocolStack
A ProtocolStack manages a number of protocols layered above each other.Fields in org.jgroups.stack declared as Protocol Modifier and Type Field Description protected Protocol
ProtocolStack. bottom_prot
protected Protocol
Protocol. down_prot
protected Protocol
RouterStubManager. owner
protected Protocol
ProtocolStack. top_prot
protected Protocol
Protocol. up_prot
Methods in org.jgroups.stack with type parameters of type Protocol Modifier and Type Method Description <T extends Protocol>
TProtocolStack. findProtocol(java.lang.Class<? extends Protocol> clazz)
<T extends Protocol>
TProtocolStack. findProtocol(java.lang.Class<? extends Protocol>... classes)
Finds the first protocol of a list and returns it.<T extends Protocol>
TProtocolStack. findProtocol(java.lang.String name)
Returns a given protocol or null if not found<T extends Protocol>
java.util.List<T>ProtocolStack. findProtocols(java.lang.String regexp)
<T extends Protocol>
TProtocolStack. getBottomProtocol()
<T extends Protocol>
TProtocol. getDownProtocol()
<T extends Protocol>
TProtocol. getUpProtocol()
<T extends Protocol>
TProtocol. level(java.lang.String level)
<T extends Protocol>
TProtocolStack. removeProtocol(java.lang.Class<? extends Protocol> prot)
<T extends Protocol>
TProtocolStack. removeProtocol(java.lang.Class<? extends Protocol>... protocols)
<T extends Protocol>
TProtocolStack. removeProtocol(java.lang.String prot_name)
Removes a protocol from the stack.<T extends Protocol>
TProtocolStack. removeProtocol(T prot)
<T extends Protocol>
TProtocol. setDownProtocol(Protocol prot)
<T extends Protocol>
TProtocol. setErgonomics(boolean ergonomics)
<T extends Protocol>
TProtocol. setId(short id)
<T extends Protocol>
TProtocol. setLevel(java.lang.String level)
Sets the level of a logger.<T extends Protocol>
TProtocol. setProtocolStack(ProtocolStack s)
<T extends Protocol>
TProtocol. setUpProtocol(Protocol prot)
<T extends Protocol>
TProtocol. setValue(java.lang.String name, java.lang.Object value)
Methods in org.jgroups.stack that return Protocol Modifier and Type Method Description static Protocol
Configurator. connectProtocols(java.util.List<Protocol> protocol_list)
Creates a protocol stack by iterating through the protocol list and connecting adjacent layers.protected static Protocol
Configurator. createLayer(ProtocolStack stack, ProtocolConfiguration config)
static Protocol
Configurator. createProtocol(java.lang.String prot_spec, ProtocolStack stack)
static Protocol
Configurator. createProtocol(java.lang.String prot_spec, ProtocolStack stack, boolean init_attrs)
Creates a new protocol given the protocol specification.protected Protocol
ProtocolStack. createProtocol(java.lang.String classname)
Protocol
ProtocolStack. getTopProtocol()
Protocol
Configurator. setupProtocolStack(java.util.List<ProtocolConfiguration> config)
static Protocol
Configurator. setupProtocolStack(java.util.List<ProtocolConfiguration> protocol_configs, ProtocolStack st)
Sets up the protocol stack.Protocol
Configurator. setupProtocolStack(ProtocolStack copySource)
Methods in org.jgroups.stack that return types with arguments of type Protocol Modifier and Type Method Description java.util.List<Protocol>
ProtocolStack. copyProtocols(ProtocolStack targetStack)
static java.util.List<Protocol>
Configurator. createProtocols(java.util.List<ProtocolConfiguration> protocol_configs, ProtocolStack stack)
Takes a list of configurations, creates a protocol for each and returns all protocols in a list.static java.util.List<Protocol>
Configurator. createProtocolsAndInitializeAttrs(java.util.List<ProtocolConfiguration> cfgs, ProtocolStack st)
java.util.List<Protocol>
ProtocolStack. getProtocols()
Returns all protocols in a list, from top to bottom.Methods in org.jgroups.stack with parameters of type Protocol Modifier and Type Method Description ProtocolStack
ProtocolStack. addProtocol(Protocol prot)
Adds a protocol at the tail of the protocol listProtocolStack
ProtocolStack. addProtocols(Protocol... prots)
Adds a list of protocolsvoid
ProtocolHook. afterCreation(Protocol prot)
Called after all protocols have been created, connected and its attributes set, but beforeinit()
is called.ProtocolStack
ProtocolStack. bottomProtocol(Protocol bottom)
protected static void
ProtocolStack. callAfterCreationHook(Protocol prot, java.lang.String classname)
static RouterStubManager
RouterStubManager. emptyGossipClientStubManager(Protocol p)
protected java.lang.reflect.Method
NonReflectiveProbeHandler. findMethod(Protocol prot, java.lang.String method_name, java.lang.String[] args)
static <T> T
Configurator. getValueFromProtocol(Protocol protocol, java.lang.reflect.Field field)
static <T> T
Configurator. getValueFromProtocol(Protocol protocol, java.lang.String field_name)
NonReflectiveProbeHandler
NonReflectiveProbeHandler. initialize(Protocol[] protocols)
static void
Configurator. initializeAttrs(Protocol prot, ProtocolConfiguration config, StackType ip_version)
Sets the attributes in a given protocol from propertiesvoid
ProtocolStack. insertProtocol(Protocol prot, ProtocolStack.Position position, java.lang.Class<? extends Protocol> neighbor_prot)
void
ProtocolStack. insertProtocol(Protocol prot, ProtocolStack.Position position, java.lang.Class<? extends Protocol>... neighbor_prots)
void
ProtocolStack. insertProtocol(Protocol prot, ProtocolStack.Position position, java.lang.String neighbor_prot)
Inserts an already created (and initialized) protocol into the protocol list.void
ProtocolStack. insertProtocolAtTop(Protocol prot)
void
ProtocolStack. insertProtocolInStack(Protocol prot, Protocol neighbor, ProtocolStack.Position position)
protected static void
Configurator. removeProvidedDownServices(Protocol protocol, java.util.List<java.lang.Integer> events)
Removes all events provided by the protocol above protocol from eventsprotected static void
Configurator. removeProvidedUpServices(Protocol protocol, java.util.List<java.lang.Integer> events)
Removes all events provided by the protocol below protocol from eventsvoid
ProtocolStack. replaceProtocol(Protocol existing_prot, Protocol new_prot)
Replaces one protocol instance with another.<T extends Protocol>
TProtocol. setDownProtocol(Protocol prot)
<T extends Protocol>
TProtocol. setUpProtocol(Protocol prot)
ProtocolStack
ProtocolStack. topProtocol(Protocol top)
Method parameters in org.jgroups.stack with type arguments of type Protocol Modifier and Type Method Description ProtocolStack
ProtocolStack. addProtocols(java.util.List<Protocol> prots)
Adds a list of protocolsstatic Protocol
Configurator. connectProtocols(java.util.List<Protocol> protocol_list)
Creates a protocol stack by iterating through the protocol list and connecting adjacent layers.static void
Configurator. ensureValidBindAddresses(java.util.List<Protocol> protocols)
Makes sure that all fields annotated with @LocalAddress is (1) an InetAddress and (2) a valid address on any local network interface<T extends Protocol>
TProtocolStack. findProtocol(java.lang.Class<? extends Protocol> clazz)
static java.util.List<java.net.InetAddress>
Configurator. getInetAddresses(java.util.List<Protocol> protocols)
NonReflectiveProbeHandler
NonReflectiveProbeHandler. initialize(java.util.Collection<Protocol> prots)
void
ProtocolStack. insertProtocol(Protocol prot, ProtocolStack.Position position, java.lang.Class<? extends Protocol> neighbor_prot)
<T extends Protocol>
TProtocolStack. removeProtocol(java.lang.Class<? extends Protocol> prot)
static void
Configurator. sanityCheck(java.util.List<Protocol> protocols)
Throws an exception if sanity check fails.static void
Configurator. setDefaultValues(java.util.List<Protocol> protocols, StackType ip_version)
Constructors in org.jgroups.stack with parameters of type Protocol Constructor Description RouterStubManager(Protocol owner, java.lang.String cluster_name, Address local_addr, java.lang.String logical_name, PhysicalAddress phys_addr, long interval)
-
Uses of Protocol in org.jgroups.util
Fields in org.jgroups.util declared as Protocol Modifier and Type Field Description protected Protocol
ForwardQueue. down_prot
protected Protocol
ForwardQueue. up_prot
Methods in org.jgroups.util that return Protocol Modifier and Type Method Description Protocol
ForwardQueue. getDownProt()
static Protocol[]
Util. getTestStack(Protocol... additional_protocols)
Returns a default stack for testing with transport = SHARED_LOOPBACKProtocol
ForwardQueue. getUpProt()
Methods in org.jgroups.util that return types with arguments of type Protocol Modifier and Type Method Description static java.lang.Class<? extends Protocol>[]
Util. getUnicastProtocols()
static java.lang.Class<? extends Protocol>
Util. loadProtocolClass(java.lang.String protocol_name, java.lang.Class<?> cl)
Methods in org.jgroups.util with parameters of type Protocol Modifier and Type Method Description static Protocol[]
Util. getTestStack(Protocol... additional_protocols)
Returns a default stack for testing with transport = SHARED_LOOPBACKvoid
ForwardQueue. setDownProt(Protocol down_prot)
void
ForwardQueue. setUpProt(Protocol up_prot)
-