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).


Constructor Index

 o DELAY()

Method Index

 o Down(Event)
An event is to be sent down the stack.
 o GetName()
All protocol names have to be unique !
 o SetProperties(Properties)
Configures the protocol initially.
 o Up(Event)
An event was received from the layer below.

Constructors

 o DELAY
 public DELAY()

Methods

 o GetName
 public String GetName()
All protocol names have to be unique !

Overrides:
GetName in class Protocol
 o SetProperties
 public boolean SetProperties(Properties props)
Configures the protocol initially.

Overrides:
SetProperties in class Protocol
 o Up
 public void Up(Event evt)
An event was received from the layer below.

Overrides:
Up in class Protocol
 o 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