Package akka.testkit
Class TestActors
- java.lang.Object
-
- akka.testkit.TestActors
-
public class TestActors extends java.lang.ObjectA collection of common actor patterns used in tests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestActors.BlackholeActorBlackholeActor does nothing for incoming messages, its like a blackhole.static classTestActors.EchoActorEchoActor sends back received messages (unmodified).static classTestActors.ForwardActorForwardActor forwards all messages as-is to specified ActorRef.
-
Constructor Summary
Constructors Constructor Description TestActors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropsblackholeProps()static PropsechoActorProps()static PropsforwardActorProps(ActorRef ref)
-