All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.JavaStack.Protocols.DISCARD
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.Protocols.DISCARD
- public class DISCARD
- extends Protocol
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. Setting 'down' or 'up' to 0 causes no loss, whereas 1 discards
all messages (not very useful).
-
DISCARD()
-
-
Down(Event)
- An event is to be sent down the stack.
-
GetName()
- All protocol names have to be unique !
-
SetProperties(Properties)
- Configures the protocol initially.
-
Up(Event)
- An event was received from the layer below.
DISCARD
public DISCARD()
GetName
public String GetName()
- All protocol names have to be unique !
- Overrides:
- GetName in class Protocol
SetProperties
public boolean SetProperties(Properties props)
- Configures the protocol initially.
- Overrides:
- SetProperties in class Protocol
Up
public void Up(Event evt)
- An event was received from the layer below.
- Overrides:
- Up in class Protocol
Down
public void Down(Event evt)
- An event is to be sent down the stack.
- Overrides:
- Down in class Protocol
All Packages Class Hierarchy This Package Previous Next Index