object JsFSM
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsFSM
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class CurrentState [S](fsmRef: JsActorRef, state: S) extends Product with Serializable
- case class Event [D](event: Any, stateData: D) extends Product with Serializable
- case class Failure (cause: Any) extends Reason with Product with Serializable
- case class LogEntry [S, D](stateName: S, stateData: D, event: Any) extends Product with Serializable
- sealed trait Reason extends AnyRef
- case class State [S, D](stateName: S, stateData: D, timeout: Option[FiniteDuration] = None, stopReason: Option[Reason] = None, replies: List[Any] = Nil) extends Product with Serializable
- case class SubscribeTransitionCallBack (actorRef: JsActorRef) extends Product with Serializable
- case class Transition [S](fsmRef: JsActorRef, from: S, to: S) extends Product with Serializable
- case class UnsubscribeTransitionCallBack (actorRef: JsActorRef) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
->
This extractor is just convenience for matching a (S, S) pair, including a reminder what the new state is.
-
object
Normal
extends Reason with Product with Serializable
Default reason if calling
stop()
. -
object
NullFunction
extends PartialFunction[Any, Nothing]
A partial function value which does not match anything and can be used to “reset”
whenUnhandled
andonTermination
handlers.A partial function value which does not match anything and can be used to “reset”
whenUnhandled
andonTermination
handlers.onTermination(FSM.NullFunction)
-
object
Shutdown
extends Reason with Product with Serializable
Reason given when someone was calling
system.stop(fsm)
from outside; also applies toStop
supervision directive. -
object
StateTimeout
extends Product with Serializable
This case object is received in case of a state timeout.