class State[S, D] extends Product with Serializable

Source
FSM.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. State
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new State(stateName: S, stateData: D, timeout: Option[FiniteDuration] = None, stopReason: Option[Reason] = None, replies: List[Any] = Nil)

Value Members

  1. def canEqual(that: Any): Boolean
    Definition Classes
    State → Equals
  2. def copy(stateName: S = stateName, stateData: D = stateData, timeout: Option[FiniteDuration] = timeout, stopReason: Option[Reason] = stopReason, replies: List[Any] = replies): State[S, D]
  3. def equals(that: Any): Boolean
    Definition Classes
    State → Equals → AnyRef → Any
  4. def forMax(timeout: Duration): State[S, D]

    JAVA API: Modify state transition descriptor to include a state timeout for the next state.

    JAVA API: Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.

    Use Duration.Inf to deactivate an existing timeout.

  5. def forMax(timeout: Duration): State[S, D]

    Modify state transition descriptor to include a state timeout for the next state.

    Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.

    Use Duration.Inf to deactivate an existing timeout.

  6. def productArity: Int
    Definition Classes
    State → Product
  7. def productElement(n: Int): Any
    Definition Classes
    State → Product
  8. def productElementName(n: Int): String
    Definition Classes
    Product
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. def productIterator: Iterator[Any]
    Definition Classes
    Product
  11. def productPrefix: String
    Definition Classes
    State → Product
  12. val replies: List[Any]
  13. def replying(replyValue: Any): State[S, D]

    Send reply to sender of the current message, if available.

    Send reply to sender of the current message, if available.

    returns

    this state transition descriptor

  14. val stateData: D
  15. val stateName: S
  16. val stopReason: Option[Reason]
  17. val timeout: Option[FiniteDuration]
  18. def using(nextStateData: D): State[S, D]

    Modify state transition descriptor with new state data.

    Modify state transition descriptor with new state data. The data will be set when transitioning to the new state.

    Annotations
    @nowarn()