All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.squirrelframework.foundation.fsm.StateMachineWithoutContext Maven / Gradle / Ivy

Go to download

foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.

There is a newer version: 0.3.10
Show newest version
package org.squirrelframework.foundation.fsm;

/**
 * State machine which does not include environmental context during state transition.
 * @author Henry.He
 *
 * @param  type of State Machine
 * @param  type of State
 * @param  type of Event
 */
public interface StateMachineWithoutContext, S, E> extends StateMachine {
    
    /**
     * Fire event
     * @param event
     */
    void fire(E event);
    
    /**
     * Test event
     * @param event
     */
    S test(E event);
    
    /**
     * Start state machine
     */
    void start();
    
    /**
     * Terminate state machine
     */
    void terminate();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy