akka.routing
Class RoutedActorRef

java.lang.Object
  extended by akka.actor.ActorRef
      extended by akka.actor.InternalActorRef
          extended by akka.actor.ActorRefWithCell
              extended by akka.actor.RepointableActorRef
                  extended by akka.routing.RoutedActorRef
All Implemented Interfaces:
ActorRefScope, RepointableRef, ScalaActorRef, java.io.Serializable, java.lang.Comparable<ActorRef>

public class RoutedActorRef
extends RepointableActorRef

INTERNAL API

A RoutedActorRef is an ActorRef that has a set of connected ActorRef and it uses a Router to send a message to one (or more) of these actors.

See Also:
Serialized Form

Constructor Summary
RoutedActorRef(ActorSystemImpl _system, Props _routerProps, MessageDispatcher _routerDispatcher, MailboxType _routerMailbox, Props _routeeProps, InternalActorRef _supervisor, ActorPath _path)
           
 
Method Summary
 Cell newCell(UnstartedCell old)
          This is called by activate() to obtain the cell which is to replace the unstarted cell.
 
Methods inherited from class akka.actor.RepointableActorRef
children, dispatcher, getChild, getParent, getSingleChild, initialize, isLocal, isStarted, isTerminated, lookup, mailboxType, path, point, props, provider, restart, resume, sendSystemMessage, start, stop, supervisor, suspend, swapCell, swapLookup, system, underlying, writeReplace
 
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
 

Constructor Detail

RoutedActorRef

public RoutedActorRef(ActorSystemImpl _system,
                      Props _routerProps,
                      MessageDispatcher _routerDispatcher,
                      MailboxType _routerMailbox,
                      Props _routeeProps,
                      InternalActorRef _supervisor,
                      ActorPath _path)
Method Detail

newCell

public Cell newCell(UnstartedCell old)
Description copied from class: RepointableActorRef
This is called by activate() to obtain the cell which is to replace the unstarted cell. The cell must be fully functional.

Overrides:
newCell in class RepointableActorRef
Parameters:
old - (undocumented)
Returns:
(undocumented)