akka.testkit
Class TestActor

java.lang.Object
  extended by akka.testkit.TestActor
All Implemented Interfaces:
Actor

public class TestActor
extends java.lang.Object
implements Actor


Nested Class Summary
static class TestActor.AutoPilot
           
static class TestActor.KeepRunning$
           
static interface TestActor.Message
           
static class TestActor.NoAutoPilot$
           
static class TestActor.NullMessage$
           
static class TestActor.RealMessage
           
static class TestActor.RealMessage$
           
static class TestActor.SetAutoPilot
           
static class TestActor.SetAutoPilot$
           
static class TestActor.SetIgnore
           
static class TestActor.SetIgnore$
           
static class TestActor.UnWatch
           
static class TestActor.UnWatch$
           
static class TestActor.Watch
           
static class TestActor.Watch$
           
 
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$
 
Constructor Summary
TestActor(java.util.concurrent.BlockingDeque<TestActor.Message> queue)
           
 
Method Summary
 TestActor.AutoPilot autopilot()
           
static scala.Function1<java.lang.Object,java.lang.Object> FALSE()
           
 scala.Option<scala.PartialFunction<java.lang.Object,java.lang.Object>> ignore()
           
 void postStop()
          User overridable callback.
static Props props(java.util.concurrent.BlockingDeque<TestActor.Message> queue)
           
 scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
          This defines the initial actor behavior, it must return a partial function with the actor logic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.Actor
context, noSender, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled
 

Constructor Detail

TestActor

public TestActor(java.util.concurrent.BlockingDeque<TestActor.Message> queue)
Method Detail

FALSE

public static scala.Function1<java.lang.Object,java.lang.Object> FALSE()

props

public static Props props(java.util.concurrent.BlockingDeque<TestActor.Message> queue)

ignore

public scala.Option<scala.PartialFunction<java.lang.Object,java.lang.Object>> ignore()

autopilot

public TestActor.AutoPilot autopilot()

receive

public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Description copied from interface: Actor
This defines the initial actor behavior, it must return a partial function with the actor logic.

Specified by:
receive in interface Actor

postStop

public void postStop()
Description copied from interface: Actor
User overridable callback.

Is called asynchronously after 'actor.stop()' is invoked. Empty default implementation.

Specified by:
postStop in interface Actor