akka.actor
Class ActorSelection
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActorSelection
public ActorSelection()
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)