akka.actor
Class ActorSelection

java.lang.Object
  extended by akka.actor.ActorSelection

public abstract class ActorSelection
extends java.lang.Object

An ActorSelection is a logical view of a section of an ActorSystem's tree of Actors, allowing for broadcasting of messages to that section.


Constructor Summary
ActorSelection()
           
 
Method Summary
static ActorSelection apply(ActorRef anchor, java.lang.String path)
          Construct an ActorSelection from the given string representing a path relative to the given target.
protected abstract  java.lang.Object[] path()
           
protected abstract  ActorRef target()
           
 void tell(java.lang.Object msg)
           
 void tell(java.lang.Object msg, ActorRef sender)
           
static ScalaActorSelection toScala(ActorSelection sel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActorSelection

public ActorSelection()
Method Detail

toScala

public static ScalaActorSelection toScala(ActorSelection sel)

apply

public static ActorSelection apply(ActorRef anchor,
                                   java.lang.String path)
Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.


target

protected abstract ActorRef target()

path

protected abstract java.lang.Object[] path()

tell

public void tell(java.lang.Object msg)

tell

public void tell(java.lang.Object msg,
                 ActorRef sender)