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
- Alphabetic
- By Inheritance
- Effects
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noEffects(): NoEffects
Used to represent an empty list of effects - in other words, the behavior didn't do anything observable
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
receiveTimeoutSet[T](d: FiniteDuration, message: T): ReceiveTimeoutSet[T]
The behavior set a new receive timeout, with
message
as timeout notification -
def
scheduled[U](delay: FiniteDuration, target: typed.ActorRef[U], message: U): Scheduled[U]
The behavior used
context.schedule
to schedulemessage
to be sent totarget
afterdelay
FIXME what about events scheduled through the scheduler? -
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
-
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
-
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
-
def
spawned[T](behavior: Behavior[T], childName: String): Spawned[T]
The behavior spawned a named child with the given behavior with no specific props
-
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
-
def
spawnedAnonymous[T](behavior: Behavior[T], props: typed.Props): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with specific props
-
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
-
def
spawnedAnonymous[T](behavior: Behavior[T]): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with no specific props
-
def
stopped(childName: String): Stopped
The behavior stopped
childName
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unwatched[T](other: typed.ActorRef[T]): Unwatched[T]
The behavior started watching
other
, throughcontext.unwatch(other)
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
watched[T](other: typed.ActorRef[T]): Watched[T]
The behavior started watching
other
, throughcontext.watch(other)