Package org.jgroups.debug
Class Simulator
java.lang.Object
org.jgroups.debug.Simulator
Tests one or more protocols independently. Look at org.jgroups.tests.FCTest for an example of how to use it.
- Version:
- $Id: Simulator.java,v 1.11.2.1 2008/05/22 13:23:10 belaban Exp $
- Author:
- Bela Ban
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
setLocalAddress
(Address addr) void
setProtocolStack
(Protocol[] stack) void
void
void
start()
void
stop()
-
Constructor Details
-
Simulator
public Simulator()
-
-
Method Details
-
setProtocolStack
-
dumpStats
-
addMember
-
addMember
-
setLocalAddress
-
setView
-
setReceiver
-
send
-
receive
-
start
- Throws:
Exception
-
stop
public void stop()
-