final
class
Receive extends AnyRef
Instance Constructors
-
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Receive, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Receive, B)
Deprecated Value Members
-
def
finalize(): Unit
Inherited by implicit conversion any2stringadd from
Receive to any2stringadd[Receive]
Inherited by implicit conversion StringFormat from
Receive to StringFormat[Receive]
Inherited by implicit conversion Ensuring from
Receive to Ensuring[Receive]
Inherited by implicit conversion ArrowAssoc from
Receive to ArrowAssoc[Receive]
Defines which messages the Actor can handle, along with the implementation of how the messages should be processed. You can build such behavior with the akka.japi.pf.receivebuilder but it can be implemented in other ways than using the
ReceiveBuilder
since it in the end is just a wrapper around a ScalaPartialFunction
. In Java, you can implementPartialFunction
by extendingAbstractPartialFunction
.