akka.remote
Class RemoteActorRef
java.lang.Object
akka.actor.ActorRef
akka.actor.InternalActorRef
akka.remote.RemoteActorRef
- All Implemented Interfaces:
- akka.actor.ActorRefScope, akka.actor.ScalaActorRef, RemoteRef, java.io.Serializable, java.lang.Comparable<akka.actor.ActorRef>
public class RemoteActorRef
- extends akka.actor.InternalActorRef
- implements RemoteRef
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.
- See Also:
- Serialized Form
|
Constructor Summary |
RemoteActorRef(RemoteTransport remote,
akka.actor.Address localAddressToUse,
akka.actor.ActorPath path,
akka.actor.InternalActorRef getParent,
scala.Option<akka.actor.Props> props,
scala.Option<akka.actor.Deploy> deploy)
|
| Methods inherited from class akka.actor.InternalActorRef |
$bang$default$2, 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.actor.ScalaActorRef |
$bang |
RemoteActorRef
public RemoteActorRef(RemoteTransport remote,
akka.actor.Address localAddressToUse,
akka.actor.ActorPath path,
akka.actor.InternalActorRef getParent,
scala.Option<akka.actor.Props> props,
scala.Option<akka.actor.Deploy> deploy)
localAddressToUse
public akka.actor.Address localAddressToUse()
path
public akka.actor.ActorPath path()
- Specified by:
path in class akka.actor.ActorRef
getParent
public akka.actor.InternalActorRef getParent()
- Specified by:
getParent in class akka.actor.InternalActorRef
getChild
public akka.actor.InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
- Specified by:
getChild in class akka.actor.InternalActorRef
isTerminated
public boolean isTerminated()
- Specified by:
isTerminated in class akka.actor.InternalActorRef
sendSystemMessage
public void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)
- Specified by:
sendSystemMessage in class akka.actor.InternalActorRef
provider
public RemoteActorRefProvider provider()
- Specified by:
provider in class akka.actor.InternalActorRef
start
public void start()
- Specified by:
start in class akka.actor.InternalActorRef
suspend
public void suspend()
- Specified by:
suspend in class akka.actor.InternalActorRef
resume
public void resume(java.lang.Throwable causedByFailure)
- Specified by:
resume in class akka.actor.InternalActorRef
stop
public void stop()
- Specified by:
stop in class akka.actor.InternalActorRef
restart
public void restart(java.lang.Throwable cause)
- Specified by:
restart in class akka.actor.InternalActorRef