Receive
org.apache.pekko.actor.AbstractActor.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 pekko.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 Scala PartialFunction. In Java, you can implement PartialFunction by extending AbstractPartialFunction.
Attributes
- Source
- AbstractActor.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article