final class StageActor extends AnyRef
Minimal actor to work with other actors and watch them in a synchronous ways
- Source
- GraphStage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StageActor
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new StageActor(materializer: ActorMaterializer, getAsyncCallback: (Receive) ⇒ AsyncCallback[(ActorRef, Any)], initialReceive: Receive)
-
new
StageActor(materializer: ActorMaterializer, getAsyncCallback: (Receive) ⇒ AsyncCallback[(ActorRef, Any)], initialReceive: Receive, name: String)
- name
leave empty to use plain auto generated names
Value Members
-
def
become(receive: Receive): Unit
Special
become
allowing to swap the behavior of this StageActorRef.Special
become
allowing to swap the behavior of this StageActorRef. Unbecome is not available. -
def
ref: ActorRef
The ActorRef by which this StageActor can be contacted from the outside.
The ActorRef by which this StageActor can be contacted from the outside. This is a full-fledged ActorRef that supports watching and being watched as well as location transparent (remote) communication.
- def stop(): Unit
- def unwatch(actorRef: ActorRef): Unit
- def watch(actorRef: ActorRef): Unit