akka.actor

ActorSelection

abstract class ActorSelection extends Serializable

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

Self Type
ActorSelection with ScalaActorSelection
Annotations
@SerialVersionUID( 1L )
Source
ActorSelection.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActorSelection
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Implicitly
  1. by toScala
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ActorSelection()

Abstract Value Members

  1. abstract val anchor: ActorRef

    Attributes
    protected[akka]
  2. abstract val path: IndexedSeq[SelectionPathElement]

    Attributes
    protected

Concrete Value Members

  1. def !(msg: Any)(implicit sender: ActorRef = Actor.noSender): Unit

    Implicit information
    This member is added by an implicit conversion from ActorSelection to ScalaActorSelection performed by method toScala in akka.actor.ActorSelection.
    Definition Classes
    ScalaActorSelection
  2. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  3. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ActorSelection to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  6. def ->[B](y: B): (ActorSelection, B)

    Implicit information
    This member is added by an implicit conversion from ActorSelection to ArrowAssoc[ActorSelection] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. def anchorPath: ActorPath

    The akka.actor.ActorPath of the anchor actor.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ensuring(cond: (ActorSelection) ⇒ Boolean, msg: ⇒ Any): ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to Ensuring[ActorSelection] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (ActorSelection) ⇒ Boolean): ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to Ensuring[ActorSelection] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to Ensuring[ActorSelection] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to Ensuring[ActorSelection] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(obj: Any): Boolean

    Definition Classes
    ActorSelection → AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ActorSelection to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def forward(message: Any)(implicit context: ActorContext): Unit

    Forwards the message and passes the original sender actor as the sender.

    Forwards the message and passes the original sender actor as the sender.

    Works, no matter whether originally sent with tell/'!' or ask/'?'.

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. lazy val hashCode: Int

    Definition Classes
    ActorSelection → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def pathString: String

    String representation of the path elements, starting with "/" and separated with "/".

  28. def resolveOne(timeout: FiniteDuration): Future[ActorRef]

    Resolve the ActorRef matching this selection.

    Resolve the ActorRef matching this selection. The result is returned as a Future that is completed with the ActorRef if such an actor exists. It is completed with failure ActorNotFound if no such actor exists or the identification didn't complete within the supplied timeout.

    Under the hood it talks to the actor to verify its existence and acquire its ActorRef.

  29. def resolveOne()(implicit timeout: Timeout): Future[ActorRef]

    Resolve the ActorRef matching this selection.

    Resolve the ActorRef matching this selection. The result is returned as a Future that is completed with the ActorRef if such an actor exists. It is completed with failure ActorNotFound if no such actor exists or the identification didn't complete within the supplied timeout.

    Under the hood it talks to the actor to verify its existence and acquire its ActorRef.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def tell(msg: Any, sender: ActorRef): Unit

    Sends the specified message to the sender, i.

    Sends the specified message to the sender, i.e. fire-and-forget semantics, including the sender reference if possible.

    Pass ActorRef#noSender or null as sender if there is nobody to reply to

  32. def toSerializationFormat: String

    String representation of the actor selection suitable for storage and recreation.

    String representation of the actor selection suitable for storage and recreation. The output is similar to the URI fragment returned by akka.actor.ActorPath.toSerializationFormat.

    returns

    URI fragment

  33. def toString(): String

    Definition Classes
    ActorSelection → AnyRef → Any
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (ActorSelection, B)

    Implicit information
    This member is added by an implicit conversion from ActorSelection to ArrowAssoc[ActorSelection] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ActorSelection to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (actorSelection: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ActorSelection to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (actorSelection: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to ArrowAssoc[ActorSelection] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (actorSelection: ArrowAssoc[ActorSelection]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ActorSelection

    Implicit information
    This member is added by an implicit conversion from ActorSelection to Ensuring[ActorSelection] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (actorSelection: Ensuring[ActorSelection]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toScala from ActorSelection to ScalaActorSelection

Inherited by implicit conversion any2stringadd from ActorSelection to StringAdd

Inherited by implicit conversion any2stringfmt from ActorSelection to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ActorSelection to ArrowAssoc[ActorSelection]

Inherited by implicit conversion any2Ensuring from ActorSelection to Ensuring[ActorSelection]

Ungrouped