Class FSM.Transition<S>

java.lang.Object
org.apache.pekko.actor.FSM.Transition<S>
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing interface:
FSM<S,D>

public static final class FSM.Transition<S> extends Object implements scala.Product, Serializable
Message type which is used to communicate transitions between states to all subscribed listeners (use pekko.actor.FSM.SubscribeTransitionCallBack).
See Also:
  • Constructor Details

    • Transition

      public Transition(ActorRef fsmRef, S from, S to)
  • Method Details

    • fsmRef

      public ActorRef fsmRef()
    • from

      public S from()
    • to

      public S to()
    • copy

      public <S> FSM.Transition<S> copy(ActorRef fsmRef, S from, S to)
    • copy$default$1

      public <S> ActorRef copy$default$1()
    • copy$default$2

      public <S> S copy$default$2()
    • copy$default$3

      public <S> S copy$default$3()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object