All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calypso.core.atmswitch.SwitchStateEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----calypso.core.atmswitch.SwitchStateEvent

public class SwitchStateEvent
extends EventObject
An event of the Switch and part of the Beans model. All changes in the switch state are SwitchStateEvents, the command gives precise information about which change has ocured.

Author:
Kim Lahti / TCM laboratory / HUT

Variable Index

 o command
The command string of this event.

Constructor Index

 o SwitchStateEvent(Object, String)
Constructor for the SwitchStateEvent.

Method Index

 o getCommand()
Method to access current remote command.

Variables

 o command
 protected String command
The command string of this event.

Constructors

 o SwitchStateEvent
 public SwitchStateEvent(Object source_,
                         String command_)
Constructor for the SwitchStateEvent.

Parameters:
source_ - Instance of the class from which the event was orignated.
command_ - Command name of the event.

Methods

 o getCommand
 public String getCommand()
Method to access current remote command.

Returns:
The queries event spesific command (String).

All Packages  Class Hierarchy  This Package  Previous  Next  Index