Package akka.actor
Class AbstractActor$
- java.lang.Object
-
- akka.actor.AbstractActor$
-
public class AbstractActor$ extends java.lang.Object
Defines which messages the Actor can handle, along with the implementation of how the messages should be processed. You can build such behavior with theReceiveBuilder
but it can be implemented in other ways than using theReceiveBuilder
since it in the end is just a wrapper around a ScalaPartialFunction
. In Java, you can implementPartialFunction
by extendingAbstractPartialFunction
.
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractActor$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AbstractActor$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActor.Receive
emptyBehavior()
-
-
-
Field Detail
-
MODULE$
public static final AbstractActor$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
emptyBehavior
public final AbstractActor.Receive emptyBehavior()
-
-