jgroup.test.performance.upgrade
Class Generator

java.lang.Object
  extended by jgroup.test.performance.upgrade.Generator
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.ChangeListener

public class Generator
extends java.lang.Object
implements javax.swing.event.ChangeListener, java.awt.event.ActionListener

This class implements a Swing-based GUI for the UpgradeClientTest. It supports an interface that allows to control the rate at which the client sends requests to the server and one of the predefined method that is invoked on the upgrade server.

Since:
Jgroup 2.1
Author:
Marcin Solarski

Constructor Summary
Generator(int method, int tp)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void init()
           
static void main(java.lang.String[] args)
           
 void stateChanged(javax.swing.event.ChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator(int method,
                 int tp)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent evt)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

init

public void init()

main

public static void main(java.lang.String[] args)


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.