|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.ActorRef akka.actor.InternalActorRef akka.remote.RemoteActorRef
public class RemoteActorRef
INTERNAL API Remote ActorRef that is used when referencing the Actor on a different node than its "home" node. This reference is network-aware (remembers its origin) and immutable.
Constructor Summary | |
---|---|
RemoteActorRef(RemoteTransport remote,
Address localAddressToUse,
ActorPath path,
InternalActorRef getParent,
scala.Option<Props> props,
scala.Option<Deploy> deploy)
|
Method Summary | |
---|---|
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()
Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain. |
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()
|
Methods inherited from class akka.actor.InternalActorRef |
---|
isLocal |
Methods inherited from class akka.actor.ActorRef |
---|
compareTo, equals, forward, hashCode, noSender, tell, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface akka.remote.RemoteRef |
---|
isLocal |
Constructor Detail |
---|
public RemoteActorRef(RemoteTransport remote, Address localAddressToUse, ActorPath path, InternalActorRef getParent, scala.Option<Props> props, scala.Option<Deploy> deploy)
Method Detail |
---|
public Address localAddressToUse()
public ActorPath path()
ActorRef
path
in class ActorRef
public InternalActorRef getParent()
InternalActorRef
getParent
in class InternalActorRef
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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |