org.jgroups.demos

Class TotalTokenDemo

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 $

Author: Vladimir Blagojevic vladimir@cs.yorku.ca Ivan Bilenjkij ivan@ibossa.com

See Also:

Nested Class Summary
static classTotalTokenDemo.TotalPayload
Constructor Summary
TotalTokenDemo(String props)
Method Summary
voidaddPanel(String name, JPanel panel)
voidconnect()
voiddisconnect()
JChannelgetChannel()
static voidmain(String[] args)
voidrun()

Constructor Detail

TotalTokenDemo

public TotalTokenDemo(String props)

Method Detail

addPanel

public void addPanel(String name, JPanel panel)

connect

public void connect()

disconnect

public void disconnect()

getChannel

public JChannel getChannel()

main

public static void main(String[] args)

run

public void run()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.