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. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def askInitiated[Req, Res, T](target: RecipientRef[Req], responseTimeout: Duration, responseClass: Class[Res], messageClass: Class[T]): AskInitiated[Req, Res, T]

    The behavior initiated an ask via its context.

    The behavior initiated an ask via its context. Note that the effect returned from this method should only be used to compare with an actual effect.

    Annotations
    @nowarn()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def noEffects(): NoEffects

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

  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def receiveTimeoutSet[T](d: Duration, message: T): ReceiveTimeoutSet[T]

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

  17. def scheduled[U](delay: Duration, 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?

  18. 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

  19. 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

  20. 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

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

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

  22. 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

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

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

  24. 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

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

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

  26. def stopped(childName: String): Stopped

    The behavior stopped childName

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def timerScheduled[U](key: Any, msg: U, delay: Duration, mode: TimerMode, overriding: Boolean, send: japi.function.Effect): TimerScheduled[U]
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def unwatched[T](other: typed.ActorRef[T]): Unwatched[T]

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

  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. def watched[T](other: typed.ActorRef[T]): Watched[T]

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

  35. def watchedWith[U, T](other: typed.ActorRef[U], message: T): WatchedWith[U, T]

    The behavior started watching other, through context.watchWith(other, message)

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped