akka.remote
Class RemoteActorRef

java.lang.Object
  extended by akka.actor.ActorRef
      extended by akka.actor.InternalActorRef
          extended by 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)
           
 
Method Summary
 akka.actor.InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
           
 akka.actor.InternalActorRef getParent()
           
 boolean isTerminated()
           
 akka.actor.Address localAddressToUse()
           
 akka.actor.ActorPath path()
           
 RemoteActorRefProvider provider()
           
 void restart(java.lang.Throwable cause)
           
 void resume(java.lang.Throwable causedByFailure)
           
 void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)
           
 void start()
           
 void stop()
           
 void suspend()
           
 
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.remote.RemoteRef
isLocal
 
Methods inherited from interface akka.actor.ScalaActorRef
$bang
 

Constructor Detail

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)
Method Detail

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