Class TotalTokenDemo

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible, RootPaneContainer, WindowConstants

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.14.1 $
Author:
Vladimir Blagojevic vladimir@cs.yorku.ca, Ivan Bilenjkij ivan@ibossa.com
See Also:
  • Constructor Details

    • TotalTokenDemo

      public TotalTokenDemo(String props)
  • Method Details

    • addPanel

      public void addPanel(String name, JPanel panel)
    • getChannel

      public JChannel getChannel()
    • connect

      public void connect()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • disconnect

      public void disconnect()
    • main

      public static void main(String[] args)