All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.JavaStack.Protocols.DELAY
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.Protocols.DELAY
- public class DELAY
- extends Protocol
Delays incoming/outgoing messages by a random number of milliseconds (range between 0 and n
where n is determined by the user). Incoming messages can be delayed independently from
outgoing messages (or not delayed at all).
This protocol should be inserted directly above the bottommost protocol (e.g. UDP).
-
DELAY()
-
-
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.
DELAY
public DELAY()
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