Packages

object Effects

Factories for behavior effects for BehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.

Source
Effects.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Effects
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def noEffects(): NoEffects

    Used to represent an empty list of effects - in other words, the behavior didn't do anything observable

  2. def receiveTimeoutSet[T](d: FiniteDuration, message: T): ReceiveTimeoutSet[T]

    The behavior set a new receive timeout, with message as timeout notification

  3. def scheduled[U](delay: FiniteDuration, target: typed.ActorRef[U], message: U): Scheduled[U]

    The behavior used context.schedule to schedule message to be sent to target after delay FIXME what about events scheduled through the scheduler?

  4. def spawned[T](behavior: Behavior[T], childName: String, props: typed.Props, ref: typed.ActorRef[T]): Spawned[T]

    The behavior spawned a named child with the given behavior and specific props

  5. def spawned[T](behavior: Behavior[T], childName: String, props: typed.Props): Spawned[T]

    The behavior spawned a named child with the given behavior and specific props

  6. def spawned[T](behavior: Behavior[T], childName: String, ref: typed.ActorRef[T]): Spawned[T]

    The behavior spawned a named child with the given behavior with no specific props

  7. def spawned[T](behavior: Behavior[T], childName: String): Spawned[T]

    The behavior spawned a named child with the given behavior with no specific props

  8. def spawnedAnonymous[T](behavior: Behavior[T], props: typed.Props, ref: typed.ActorRef[T]): SpawnedAnonymous[T]

    The behavior spawned an anonymous child with the given behavior with specific props

  9. def spawnedAnonymous[T](behavior: Behavior[T], props: typed.Props): SpawnedAnonymous[T]

    The behavior spawned an anonymous child with the given behavior with specific props

  10. def spawnedAnonymous[T](behavior: Behavior[T], ref: typed.ActorRef[T]): SpawnedAnonymous[T]

    The behavior spawned an anonymous child with the given behavior with no specific props

  11. def spawnedAnonymous[T](behavior: Behavior[T]): SpawnedAnonymous[T]

    The behavior spawned an anonymous child with the given behavior with no specific props

  12. def stopped(childName: String): Stopped

    The behavior stopped childName

  13. def unwatched[T](other: typed.ActorRef[T]): Unwatched[T]

    The behavior started watching other, through context.unwatch(other)

  14. def watched[T](other: typed.ActorRef[T]): Watched[T]

    The behavior started watching other, through context.watch(other)