org.jgroups.protocols

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

Method Summary
voiddown(Event evt)
StringgetName()
All protocol names have to be unique !
booleansetProperties(Properties props)
voidup(Event evt)

Method Detail

down

public void down(Event evt)

getName

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

setProperties

public boolean setProperties(Properties props)

up

public void up(Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.