akka.actor
Class EmptyLocalActorRef

java.lang.Object
  extended by akka.actor.ActorRef
      extended by akka.actor.InternalActorRef
          extended by akka.actor.EmptyLocalActorRef
All Implemented Interfaces:
ActorRefScope, LocalRef, MinimalActorRef, ScalaActorRef, java.io.Serializable, java.lang.Comparable<ActorRef>
Direct Known Subclasses:
DeadLetterActorRef

public class EmptyLocalActorRef
extends InternalActorRef
implements MinimalActorRef

This special dead letter reference has a name: it is that which is returned by a local look-up which is unsuccessful.

INTERNAL API

See Also:
Serialized Form

Constructor Summary
EmptyLocalActorRef(ActorRefProvider provider, ActorPath path, EventStream eventStream)
           
 
Method Summary
 EventStream eventStream()
           
 boolean isTerminated()
          Returns &ldquo;true&rdquo; if the actor is locally known to be terminated, &ldquo;false&rdquo; if alive or uncertain.
 ActorPath path()
          Returns the path for this actor (from this actor up to the root actor).
 ActorRefProvider provider()
          Get a reference to the actor ref provider which created this ref.
 void sendSystemMessage(SystemMessage message)
           
protected  boolean specialHandle(java.lang.Object msg, ActorRef sender)
           
 
Methods inherited from class akka.actor.InternalActorRef
getChild, getParent, isLocal, restart, resume, start, stop, suspend
 
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.MinimalActorRef
getChild, getParent, restart, resume, start, stop, suspend, writeReplace
 
Methods inherited from interface akka.actor.LocalRef
isLocal
 

Constructor Detail

EmptyLocalActorRef

public EmptyLocalActorRef(ActorRefProvider provider,
                          ActorPath path,
                          EventStream eventStream)
Method Detail

provider

public ActorRefProvider provider()
Description copied from class: InternalActorRef
Get a reference to the actor ref provider which created this ref.

Specified by:
provider in class InternalActorRef
Returns:
(undocumented)

path

public ActorPath path()
Description copied from class: ActorRef
Returns the path for this actor (from this actor up to the root actor).

Specified by:
path in class ActorRef
Returns:
(undocumented)

eventStream

public EventStream eventStream()

isTerminated

public boolean isTerminated()
Description copied from class: InternalActorRef
Returns &ldquo;true&rdquo; if the actor is locally known to be terminated, &ldquo;false&rdquo; if alive or uncertain.

Specified by:
isTerminated in interface MinimalActorRef
Specified by:
isTerminated in class InternalActorRef
Returns:
(undocumented)

sendSystemMessage

public void sendSystemMessage(SystemMessage message)
Specified by:
sendSystemMessage in interface MinimalActorRef
Specified by:
sendSystemMessage in class InternalActorRef

specialHandle

protected boolean specialHandle(java.lang.Object msg,
                                ActorRef sender)