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() |
isLocal
compareTo, equals, forward, hashCode, noSender, tell, toString
public RemoteActorRef(RemoteTransport remote, Address localAddressToUse, ActorPath path, InternalActorRef getParent, scala.Option<Props> props, scala.Option<Deploy> deploy)
public Address localAddressToUse()
public ActorPath path()
ActorRef
public InternalActorRef getParent()
InternalActorRef
getParent
in class InternalActorRef
public Association cachedAssociation()
public int cachedSendQueueIndex()
public InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
InternalActorRef
getChild
in class InternalActorRef
name
- (undocumented)public boolean isTerminated()
InternalActorRef
isTerminated
in class InternalActorRef
public boolean isWatchIntercepted(ActorRef watchee, ActorRef watcher)
watchee
- (undocumented)watcher
- (undocumented)public void sendSystemMessage(SystemMessage message)
sendSystemMessage
in class InternalActorRef
public RemoteActorRefProvider provider()
InternalActorRef
provider
in class InternalActorRef
public void start()
start
in class InternalActorRef
public void suspend()
suspend
in class InternalActorRef
public void resume(java.lang.Throwable causedByFailure)
resume
in class InternalActorRef
public void stop()
stop
in class InternalActorRef
public void restart(java.lang.Throwable cause)
restart
in class InternalActorRef