public class EmptyLocalActorRef extends InternalActorRef implements MinimalActorRef
INTERNAL API
Constructor and Description |
---|
EmptyLocalActorRef(ActorRefProvider provider,
ActorPath path,
EventStream eventStream) |
Modifier and Type | Method and Description |
---|---|
EventStream |
eventStream() |
boolean |
isTerminated()
Deprecated.
Use context.watch(actor) and receive Terminated(actor). Since 2.2.
|
ActorPath |
path()
Returns the path for this actor (from this actor up to the root actor).
|
ActorRefProvider |
provider()
Get a reference to the actor ref provider which created this ref.
|
void |
sendSystemMessage(SystemMessage message) |
protected boolean |
specialHandle(java.lang.Object msg,
ActorRef sender) |
getChild, getParent, isLocal, restart, resume, start, stop, suspend
compareTo, equals, forward, hashCode, noSender, tell, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChild, getParent, restart, resume, start, stop, suspend, writeReplace
public EmptyLocalActorRef(ActorRefProvider provider, ActorPath path, EventStream eventStream)
public ActorRefProvider provider()
InternalActorRef
provider
in class InternalActorRef
public ActorPath path()
ActorRef
public EventStream eventStream()
public boolean isTerminated()
InternalActorRef
isTerminated
in interface MinimalActorRef
isTerminated
in class InternalActorRef
public void sendSystemMessage(SystemMessage message)
sendSystemMessage
in interface MinimalActorRef
sendSystemMessage
in class InternalActorRef
protected boolean specialHandle(java.lang.Object msg, ActorRef sender)