akka.actor
Class Nobody

java.lang.Object
  extended by akka.actor.ActorRef
      extended by akka.actor.Nobody
All Implemented Interfaces:
ScalaActorRef, java.io.Serializable, java.lang.Comparable<ActorRef>, scala.Equals, scala.Product

public class Nobody
extends ActorRef
implements scala.Product, scala.Serializable

This is an internal look-up failure token, not useful for anything else.

See Also:
Serialized Form

Constructor Summary
Nobody()
           
 
Method Summary
 akka.actor.InternalActorRef getChild(scala.collection.Iterator<java.lang.String> names)
           
abstract  akka.actor.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.
 akka.actor.InternalActorRef getParent()
           
abstract  akka.actor.InternalActorRef getParent()
          Obtain parent of this ref; used by getChild for ".." paths.
 boolean isLocal()
           
abstract  boolean isLocal()
          Scope: if this ref points to an actor which resides within the same JVM, i.e. whose mailbox is directly reachable etc.
 boolean isTerminated()
           
abstract  boolean isTerminated()
          Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.
static RootActorPath path()
           
static scala.Nothing provider()
           
abstract  ActorRefProvider provider()
          Get a reference to the actor ref provider which created this ref.
 void restart(java.lang.Throwable cause)
           
abstract  void restart(java.lang.Throwable cause)
           
 void resume(java.lang.Throwable causedByFailure)
           
abstract  void resume(java.lang.Throwable causedByFailure)
           
 void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)
           
abstract  void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)
           
 void start()
           
abstract  void start()
           
 void stop()
           
abstract  void stop()
           
 void suspend()
           
abstract  void suspend()
           
 java.lang.Object writeReplace()
           
 
Methods inherited from class akka.actor.ActorRef
compareTo, equals, forward, hashCode, noSender, path, tell, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Nobody

public Nobody()
Method Detail

path

public static RootActorPath path()

provider

public static scala.Nothing provider()

getParent

public akka.actor.InternalActorRef getParent()

getChild

public akka.actor.InternalActorRef getChild(scala.collection.Iterator<java.lang.String> names)

start

public void start()

suspend

public void suspend()

resume

public void resume(java.lang.Throwable causedByFailure)

stop

public void stop()

isTerminated

public boolean isTerminated()

sendSystemMessage

public void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)

restart

public void restart(java.lang.Throwable cause)

writeReplace

public java.lang.Object writeReplace()

isLocal

public boolean isLocal()

start

public abstract void start()

resume

public abstract void resume(java.lang.Throwable causedByFailure)

suspend

public abstract void suspend()

restart

public abstract void restart(java.lang.Throwable cause)

stop

public abstract void stop()

sendSystemMessage

public abstract void sendSystemMessage(akka.dispatch.sysmsg.SystemMessage message)

provider

public abstract ActorRefProvider provider()
Get a reference to the actor ref provider which created this ref.


getParent

public abstract akka.actor.InternalActorRef getParent()
Obtain parent of this ref; used by getChild for ".." paths.


getChild

public abstract akka.actor.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. This method shall return the end result, i.e. not only the next step in the look-up; this will typically involve recursive invocation. A path element of ".." signifies the parent, a trailing "" element must be disregarded. If the requested path does not exist, return Nobody.


isLocal

public abstract boolean isLocal()
Scope: if this ref points to an actor which resides within the same JVM, i.e. whose mailbox is directly reachable etc.


isTerminated

public abstract boolean isTerminated()
Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.

Specified by:
isTerminated in class ActorRef