Package jadex.base

Class SRemoteClock.SimulationState

  • Enclosing class:
    SRemoteClock

    public static class SRemoteClock.SimulationState
    extends java.lang.Object
    Information about the simulation to be transferred.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean clockok
      The clock ok flag.
      java.lang.String clocktype
      The clock type.
      boolean executing
      The execution state.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimulationState()
      Bean constructor.
      SimulationState​(boolean executing, java.lang.String clocktype, boolean clockok)
      Create a clock state object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Test if two objects are equal.
      int hashCode()
      The hash code.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • executing

        public boolean executing
        The execution state.
      • clocktype

        public java.lang.String clocktype
        The clock type.
      • clockok

        public boolean clockok
        The clock ok flag.
    • Constructor Detail

      • SimulationState

        public SimulationState()
        Bean constructor.
      • SimulationState

        public SimulationState​(boolean executing,
                               java.lang.String clocktype,
                               boolean clockok)
        Create a clock state object.
    • Method Detail

      • hashCode

        public int hashCode()
        The hash code. Overridden to have only one clock state per update.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if two objects are equal. Overridden to have only one clock state per update.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object