org.jgroups.debug
Class Simulator
java.lang.Object
org.jgroups.debug.Simulator
public class Simulator
extends java.lang.Object
Tests one or more protocols independently. Look at org.jgroups.tests.FCTest for an example of how to use it.
$Id: Simulator.java,v 1.6 2005/08/22 14:12:53 belaban Exp $
addMember
public void addMember(Address addr)
dumpStats
public String dumpStats()
receive
public void receive(Event evt)
send
public void send(Event evt)
setLocalAddress
public void setLocalAddress(Address addr)
setProtocolStack
public void setProtocolStack(Protocol[] stack)
setView
public void setView(View v)
start
public void start()
throws Exception
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.