Package org.jgroups.protocols
Class DISCARD_PAYLOAD
- java.lang.Object
-
- org.jgroups.stack.Protocol
-
- org.jgroups.protocols.DISCARD_PAYLOAD
-
public class DISCARD_PAYLOAD extends Protocol
Discards a message whose sequence number (in the payload, as a Long) matches seqno 2 times, before passing it down. Used for unit testing of OOB messages- Author:
- Bela Ban
-
-
Field Summary
Fields Modifier and Type Field Description protected long
duplicate
protected int
num_discards
protected long
seqno
-
Fields inherited from class org.jgroups.stack.Protocol
after_creation_hook, down_prot, ergonomics, id, log, stack, stats, up_prot
-
-
Constructor Summary
Constructors Constructor Description DISCARD_PAYLOAD()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
down(Message msg)
A message is sent down the stack.-
Methods inherited from class org.jgroups.stack.Protocol
accept, afterCreationHook, destroy, down, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getLog, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, init, isErgonomics, level, parse, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, resetStats, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, start, statsEnabled, stop, up, up, up
-
-