![JAR search and dependency download from the Maven repository](/logo.png)
java-fsm.code.net.openai.util.fsm.event.MachineEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openaifsm Show documentation
Show all versions of openaifsm Show documentation
OpenAI FSM is used by Apache cTAKES.
It was originally developed out of sourceforge openAI group
The newest version!
/*****************************************************************************
* net.openai.fsm.event.MachineEvent
*****************************************************************************
* @author JC on E
* @date 12/3/2000
* 2001 OpenAI Labs
*****************************************************************************/
package net.openai.util.fsm.event;
import java.util.EventObject;
import java.io.Serializable;
import net.openai.util.fsm.Machine;
/**
* The Event
object that will interface between the
* Machine
s and their listeners.
*/
public final class MachineEvent extends EventObject implements Serializable {
/** This type of MachineEvent indicates that. */
/** The type of event that this MachineEvent is. */
private int type = -1;
/**
* Constructs a new MachineEvent.
*/
public MachineEvent(Machine source, int type) {
super(source);
this.type = type;
}
/**
* Returns the type of this MachineEvent.
*
* @return The type of this MachineEvent.
*/
public final int getType() {
return type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy