net.openai.util.fsm.event
Class MachineEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--net.openai.util.fsm.event.MachineEvent
All Implemented Interfaces:
java.io.Serializable

public final class MachineEvent
extends java.util.EventObject
implements java.io.Serializable

The Event object that will interface between the Machines and their listeners.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MachineEvent(Machine source, int type)
          Constructs a new MachineEvent.
 
Method Summary
 int getType()
          Returns the type of this MachineEvent.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MachineEvent

public MachineEvent(Machine source,
                    int type)
Constructs a new MachineEvent.

Method Detail

getType

public final int getType()
Returns the type of this MachineEvent.

Returns:
The type of this MachineEvent.


Copyright - 2001 OpenAI Labs. All Rights Reserved.