org.jgroups.demos
public class TotalTokenDemo extends JFrame implements Runnable
Demonstration of TOTAL_TOKEN protocol stack implementing total order. TotalTokenDemo could however be used by any other stack configuration which does not neccesarily have to satisfy total order. If using stack configuration other than TOTAL_TOKEN an appropriate xml configuration file should be used. See -help for details.
TotalTokenDemo will verify :
total ordering of messages - by computing a color to be displayed in a gui window.
virtual synchrony - by displaying number of messages transmitted in last view.
Version: $Revision: 1.10 $
Nested Class Summary | |
---|---|
static class | TotalTokenDemo.TotalPayload |
Constructor Summary | |
---|---|
TotalTokenDemo(String props) |
Method Summary | |
---|---|
void | addPanel(String name, JPanel panel) |
void | connect() |
void | disconnect() |
JChannel | getChannel() |
static void | main(String[] args) |
void | run() |