public class RemoteActorRef extends InternalActorRef implements RemoteRef
| Constructor and Description |
|---|
RemoteActorRef(RemoteTransport remote,
Address localAddressToUse,
ActorPath path,
InternalActorRef getParent,
scala.Option<Props> props,
scala.Option<Deploy> deploy) |
| Modifier and Type | Method and Description |
|---|---|
Association |
cachedAssociation() |
int |
cachedSendQueueIndex() |
InternalActorRef |
getChild(scala.collection.Iterator<java.lang.String> name)
Obtain ActorRef by possibly traversing the actor tree or looking it up at
some provider-specific location.
|
InternalActorRef |
getParent()
Obtain parent of this ref; used by getChild for ".." paths.
|
boolean |
isTerminated()
Deprecated.
Use context.watch(actor) and receive Terminated(actor). Since 2.2.
|
boolean |
isWatchIntercepted(ActorRef watchee,
ActorRef watcher)
Determine if a watch/unwatch message must be handled by the remoteWatcher actor, or sent to this remote ref
|
Address |
localAddressToUse() |
ActorPath |
path()
Returns the path for this actor (from this actor up to the root actor).
|
RemoteActorRefProvider |
provider()
Get a reference to the actor ref provider which created this ref.
|
void |
restart(java.lang.Throwable cause) |
void |
resume(java.lang.Throwable causedByFailure) |
void |
sendSystemMessage(SystemMessage message) |
void |
start() |
void |
stop() |
void |
suspend() |
isLocalcompareTo, equals, forward, hashCode, noSender, tell, toStringpublic RemoteActorRef(RemoteTransport remote, Address localAddressToUse, ActorPath path, InternalActorRef getParent, scala.Option<Props> props, scala.Option<Deploy> deploy)
public Address localAddressToUse()
public ActorPath path()
ActorRefpublic InternalActorRef getParent()
InternalActorRefgetParent in class InternalActorRefpublic Association cachedAssociation()
public int cachedSendQueueIndex()
public InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
InternalActorRefgetChild in class InternalActorRefname - (undocumented)public boolean isTerminated()
InternalActorRefisTerminated in class InternalActorRefpublic boolean isWatchIntercepted(ActorRef watchee, ActorRef watcher)
watchee - (undocumented)watcher - (undocumented)public void sendSystemMessage(SystemMessage message)
sendSystemMessage in class InternalActorRefpublic RemoteActorRefProvider provider()
InternalActorRefprovider in class InternalActorRefpublic void start()
start in class InternalActorRefpublic void suspend()
suspend in class InternalActorRefpublic void resume(java.lang.Throwable causedByFailure)
resume in class InternalActorRefpublic void stop()
stop in class InternalActorRefpublic void restart(java.lang.Throwable cause)
restart in class InternalActorRef