Package org.jgroups.protocols
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
-
Interface Summary Interface Description TP.ProbeHandler -
Class Summary Class Description AUTH The AUTH protocol adds a layer of authentication to JGroupsAuthHeader AuthHeader is a holder object for the token that is passed from the joiner to the coordinatorAUTOCONF Senses the network configuration when it is initialized (in init()) and sends a CONFIG event up and down the stack.BARRIER All messages up the stack have to go through a barrier (read lock, RL).BasicTCP Shared base class for tcpip protocolsBSH Beanshell (www.beanshell.org) interpreter class.BSH.BshHeader CAUSAL Implements casual ordering layer using vector clocks.CAUSAL.CausalHeader CAUSAL.CausalNewViewHeader CAUSAL.MissingIndexesMessage COMPRESS Compresses the payload of a message.COMPRESS.CompressHeader DELAY Delays incoming/outgoing messages by a random number of milliseconds (range between 0 and n where n is determined by the user).DELAY_JOIN_REQ Discards 2 JOIN-REQs then accepts 1, then discards 2 more and so onDISCARD 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.DISCARD_PAYLOAD Discards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it up.DISCARD.DiscardHeader Discovery The Discovery protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).DUMMY_TP Dummy transport, returns a fake local address and responds to CONNECT.DUPL Duplicates outgoing or incoming messages by copying themENCRYPT ENCRYPT layer.ENCRYPT.EncryptHeader EXAMPLE Example of a protocol layer.FC Simple flow control protocol based on a credit system.FC.FcHeader FD Failure detection based on simple heartbeat protocol.FD_ALL Failure detection based on simple heartbeat protocol.FD_ALL.Header FD_ICMP Protocol which uses InetAddress.isReachable() to check whether a given host is up or not, taking 1 argument; the host name of the host to be pinged.FD_PING Protocol which uses an executable (e.g.FD_PING.Pinger FD_SIMPLE Simple failure detection protocol.FD_SIMPLE.FdHeader FD_SOCK Failure detection protocol based on sockets.FD_SOCK.FdHeader FD.FdHeader FlushRsp FRAG Fragmentation layer.FRAG2 Fragmentation layer.FragHeader HDRS Example of a protocol layer.HTOTAL Implementation of UTO-TCP as designed by EPFL.HTOTAL.HTotalHeader JMS Implementation of the transport protocol using the Java Message Service (JMS).JMS.JMSAddress SimpleAddress
representing the JMS node ID or JMS topic group.LOOPBACK Makes copies of outgoing messages, swaps sender and receiver and sends the message back up the stack.MERGE2 Protocol to discover subgroups; e.g., existing due to a network partition (that healed).MERGE3 Protocol to discover subgroups; e.g., existing due to a network partition (that healed).MERGE3.CoordAnnouncement MERGEFAST The coordinator attaches a small header to each (or every nth) message.MERGEFAST.MergefastHeader MPING Uses its own IP multicast socket to send and receive discovery requests/responses.PARTITION Protocol to simulate a partition.PERF_TP Measures the time for a message to travel from the channel to the transportPING The PING protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).PingHeader PingRsp SEQUENCER Implementation of total order protocol using a sequencer.SEQUENCER.SequencerHeader SFC Simple flow control protocol.SFC.Header SHARED_LOOPBACK Loopback transport shared by all channels within the same VM.SHUFFLE This layer shuffles upcoming messages, put it just above your bottom layer.SIZE Protocol which prints out the real size of a message.SMACK Simple Multicast ACK protocol.SMACK.SmackHeader STATS Provides various statsTCP TCP based protocol.TCP_NIO Transport using NIOTCPGOSSIP The TCPGOSSIP protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack).TcpHeader TCPPING The TCPPING protocol layer retrieves the initial membership in answer to the GMS's FIND_INITIAL_MBRS event.TP Generic transport - specific implementations should extend this abstract class.TP.ProtocolAdapter TpHeader Generic transport header, used by TP.TRACE TransportedVectorTime Lighweight representation of the VectorTime clock suitable for network transportTUNNEL Replacement for UDP.TunnelHeader UDP IP multicast transport based on UDP.UdpHeader UNICAST Reliable unicast layer.UNICAST.UnicastHeader VERIFY_SUSPECT Catches SUSPECT events traveling up the stack.VERIFY_SUSPECT.VerifyHeader VIEW_SYNC Periodically sends the view to the group.VIEW_SYNC.ViewSyncHeader