akka.spray

UnregisteredActorRef

abstract class UnregisteredActorRef extends UnregisteredActorRefBase

An ActorRef which - offers the ability to hook caller-side logic into the reply message path - is never registered anywhere, i.e. can be GCed as soon the receiver drops it or is GCed itself

CAUTION: This ActorRef is _not_ addressable from a non-local JVM and it also breaks some otherwise valid invariants like system.actorFor(ref.path.toString).equals(ref) in the local-only context. It should therefore be used only in purely local environments and in consideration of the limitations. You can, however, manually wrap it with a registered ActorRef using one of the register... calls.

Self Type
UnregisteredActorRef
Linear Supertypes
UnregisteredActorRefBase, MinimalActorRef, LocalRef, ActorRefScope, InternalActorRef, ScalaActorRef, ActorRef, Serializable, Serializable, Comparable[ActorRef], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UnregisteredActorRef
  2. UnregisteredActorRefBase
  3. MinimalActorRef
  4. LocalRef
  5. ActorRefScope
  6. InternalActorRef
  7. ScalaActorRef
  8. ActorRef
  9. Serializable
  10. Serializable
  11. Comparable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnregisteredActorRef(actorRefFactory: ActorRefFactory)

  2. new UnregisteredActorRef(related: ActorRef)

  3. new UnregisteredActorRef(prov: ActorRefProvider)

Abstract Value Members

  1. abstract def handle(message: Any)(implicit sender: ActorRef): Unit

    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase

Concrete Value Members

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

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → ScalaActorRef
  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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def compareTo(other: ActorRef): Int

    Definition Classes
    ActorRef → Comparable
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def equals(that: Any): Boolean

    Definition Classes
    ActorRef → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def forward(message: Any)(implicit context: ActorContext): Unit

    Definition Classes
    ActorRef
  14. def getChild(names: Iterator[String]): InternalActorRef

    Definition Classes
    MinimalActorRef → InternalActorRef
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getParent: InternalActorRef

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → InternalActorRef
  17. final def hashCode(): Int

    Definition Classes
    ActorRef → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def isLocal: Boolean

    Definition Classes
    LocalRef → ActorRefScope
  20. def isTerminated: Boolean

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → ActorRef
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def onStop(): Unit

    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase
  25. final def path: ActorPath

    Contract of this method: Must always return the same ActorPath, which must have been registered if we haven't been stopped yet.

    Contract of this method: Must always return the same ActorPath, which must have been registered if we haven't been stopped yet.

    Definition Classes
    UnregisteredActorRefBase → ActorRef
    Annotations
    @tailrec()
  26. val provider: ActorRefProvider

    Definition Classes
    UnregisteredActorRefBase → InternalActorRef
  27. def register(path: ActorPath): Unit

    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase
  28. def registerForMultiResponse(isLastResponse: (Any) ⇒ Boolean, timeout: Timeout)(implicit executor: ExecutionContext): ActorRef

    Produces a LazyActorRef that wraps this UnregisteredActorRef.

    Produces a LazyActorRef that wraps this UnregisteredActorRef. The resulting ActorRef is reachable from remote JVMs and can receive several replies. However, the last one must be identifiable and has to arrive within the given timeout period.

  29. def registerForSingleResponse(timeout: Timeout)(implicit executor: ExecutionContext): ActorRef

    Produces a LazyActorRef that wraps this UnregisteredActorRef.

    Produces a LazyActorRef that wraps this UnregisteredActorRef. The resulting ActorRef is reachable from remote JVMs, but can only receive a single reply, which has to arrive within the given timeout period.

  30. def restart(cause: Throwable): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  31. def resume(causedByFailure: Throwable): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  32. def sendSystemMessage(message: SystemMessage): Unit

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → InternalActorRef
  33. def start(): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  34. final def stop(): Unit

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → InternalActorRef
    Annotations
    @tailrec()
  35. def suspend(): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    ActorRef
  38. def toString(): String

    Definition Classes
    ActorRef → AnyRef → Any
  39. def unregister(path: ActorPath): Unit

    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def writeReplace(): AnyRef

    Attributes
    protected
    Definition Classes
    MinimalActorRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def tell(msg: Any): Unit

    Definition Classes
    ActorRef
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1) use the two-arg variant (typically getSelf() as second arg)

Inherited from UnregisteredActorRefBase

Inherited from MinimalActorRef

Inherited from LocalRef

Inherited from ActorRefScope

Inherited from InternalActorRef

Inherited from ScalaActorRef

Inherited from ActorRef

Inherited from Serializable

Inherited from Serializable

Inherited from Comparable[ActorRef]

Inherited from AnyRef

Inherited from Any

Ungrouped