Package pygar.state

This package provides a general utility for implementing state machines whose transitions are driven by the arrival of data messages.
  • Interface Summary 
    Interface Description
    EventListener<T>
    The EventListener interface contains just one procedure which handles an event by performing actions.
  • Class Summary 
    Class Description
    NegotiationGroupStateMachine
    A class used in a Blind Agent Negotiator (BAN) application to keep track of the negotiation groups.
    OrderedStateMachine<T>
    OrderedStateMachine is a StateMachine for which the states are defined in a particular order.
    PmessageDispatcher
    A PmessageDispatcher will receive Pmessage objects from an observed source and will dispatch them as updates to the appropriate state machine or compatible observer.
    PmessageStateMachine
    This class specializes StateMachine for the Type Pmessage and extends it to include an associated sessionID, which ID is also included in the Context of the notifications sent to Observers.
    PmsgComplexStateMachine
    UNDER CONSTRUCTION!! NOT READY FOR USE This class implements a special type of compound state machine that is composed of instances of the PmessageStateMachine superclass.
    SequenceDisplayMachine
    The SequenceDisplayMachine is a helper class used with StateMachine.
    StateMachine<T>
    This class implements simple state machines that respond to events.