public static final class GraphStageLogic.StageActor
extends java.lang.Object
Constructor and Description |
---|
StageActor(ActorMaterializer materializer,
scala.Function1<scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit>,AsyncCallback<scala.Tuple2<ActorRef,java.lang.Object>>> getAsyncCallback,
scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit> initialReceive) |
Modifier and Type | Method and Description |
---|---|
void |
become(scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit> receive)
Special
become allowing to swap the behaviour of this StageActorRef. |
void |
internalReceive(scala.Tuple2<ActorRef,java.lang.Object> pack)
INTERNAL API
|
ActorRef |
ref()
The ActorRef by which this StageActor can be contacted from the outside.
|
void |
stop() |
void |
unwatch(ActorRef actorRef) |
void |
watch(ActorRef actorRef) |
public StageActor(ActorMaterializer materializer, scala.Function1<scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit>,AsyncCallback<scala.Tuple2<ActorRef,java.lang.Object>>> getAsyncCallback, scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit> initialReceive)
public ActorRef ref()
public void internalReceive(scala.Tuple2<ActorRef,java.lang.Object> pack)
public void become(scala.Function1<scala.Tuple2<ActorRef,java.lang.Object>,scala.runtime.BoxedUnit> receive)
become
allowing to swap the behaviour of this StageActorRef.
Unbecome is not available.receive
- (undocumented)public void stop()
public void watch(ActorRef actorRef)
public void unwatch(ActorRef actorRef)