Package pygar.state

Class PmessageStateMachine

java.lang.Object
java.util.Observable
pygar.state.StateMachine<Pmessage>
pygar.state.PmessageStateMachine

@ThreadSafe
public class PmessageStateMachine
extends StateMachine<Pmessage>
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.
  • Field Details

    • sessionId

      public java.lang.String sessionId
  • Constructor Details

    • PmessageStateMachine

      public PmessageStateMachine​(java.lang.String start, java.lang.String session)
      StateMachine for type Pmessage and instance of session
      Parameters:
      start - starting state of the machine
      session - id of the session
  • Method Details