akka.stream.actor

UntypedActorPublisher

abstract class UntypedActorPublisher[T] extends UntypedActor with ActorPublisher[T]

Java API

Source
ActorPublisher.scala
See also

akka.stream.actor.ActorPublisher

Linear Supertypes
ActorPublisher[T], UntypedActor, Actor, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UntypedActorPublisher
  2. ActorPublisher
  3. UntypedActor
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UntypedActorPublisher()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Abstract Value Members

  1. abstract def onReceive(message: Any): Unit

    Definition Classes
    UntypedActor
    Annotations
    @throws( classOf[java.lang.Exception] )

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    Any
  8. def aroundPostRestart(reason: Throwable): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  9. def aroundPostStop(): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  11. def aroundPreStart(): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  12. def aroundReceive(receive: Receive, msg: Any): Unit

    INTERNAL API

    INTERNAL API

    Attributes
    protected[akka]
    Definition Classes
    ActorPublisher → Actor
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. implicit val context: ActorContext

    Definition Classes
    Actor
  16. def ensuring(cond: (UntypedActorPublisher[T]) ⇒ Boolean, msg: ⇒ Any): UntypedActorPublisher[T]

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

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

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

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

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

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

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

    Implicit information
    This member is added by an implicit conversion from UntypedActorPublisher[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getContext(): UntypedActorContext

    Definition Classes
    UntypedActor
  26. def getSelf(): ActorRef

    Definition Classes
    UntypedActor
  27. def getSender(): ActorRef

    Definition Classes
    UntypedActor
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isActive: Boolean

    The state when the publisher is active, i.

    The state when the publisher is active, i.e. before the subscriber is attached and when an subscriber is attached. It is allowed to call #onComplete and #onError in this state. It is allowed to call #onNext in this state when #totalDemand is greater than zero.

    Definition Classes
    ActorPublisher
  30. final def isCanceled: Boolean

    The state after the stream subscriber has canceled the subscription.

    The state after the stream subscriber has canceled the subscription. It is allowed to call #onNext, #onError, and #onComplete in this state, but the calls will not perform anything.

    Definition Classes
    ActorPublisher
  31. final def isCompleted: Boolean

    The terminal state after calling #onComplete.

    The terminal state after calling #onComplete. It is not allowed to call #onNext, #onError, and #onComplete in this state.

    Definition Classes
    ActorPublisher
  32. final def isErrorEmitted: Boolean

    The terminal state after calling #onError.

    The terminal state after calling #onError. It is not allowed to call #onNext, #onError, and #onComplete in this state.

    Definition Classes
    ActorPublisher
  33. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  37. def onComplete(): Unit

    Complete the stream.

    Complete the stream. After that you are not allowed to call #onNext, #onError and #onComplete.

    Definition Classes
    ActorPublisher
  38. def onCompleteThenStop(): Unit

    Complete the stream.

    Complete the stream. After that you are not allowed to call #onNext, #onError and #onComplete.

    After signalling completion the Actor will then stop itself as it has completed the protocol. When #onComplete is called before any Subscriber has had the chance to subscribe to this ActorPublisher the completion signal (and therefore stopping of the Actor as well) will be delayed until such Subscriber arrives.

    Definition Classes
    ActorPublisher
  39. def onError(cause: Throwable): Unit

    Terminate the stream with failure.

    Terminate the stream with failure. After that you are not allowed to call #onNext, #onError and #onComplete.

    Definition Classes
    ActorPublisher
  40. def onErrorThenStop(cause: Throwable): Unit

    Terminate the stream with failure.

    Terminate the stream with failure. After that you are not allowed to call #onNext, #onError and #onComplete.

    After signalling the Error the Actor will then stop itself as it has completed the protocol. When #onError is called before any Subscriber has had the chance to subscribe to this ActorPublisher the error signal (and therefore stopping of the Actor as well) will be delayed until such Subscriber arrives.

    Definition Classes
    ActorPublisher
  41. def onNext(element: T): Unit

    Send an element to the stream subscriber.

    Send an element to the stream subscriber. You are allowed to send as many elements as have been requested by the stream subscriber. This amount can be inquired with #totalDemand. It is only allowed to use onNext when isActive and totalDemand > 0, otherwise onNext will throw IllegalStateException.

    Definition Classes
    ActorPublisher
  42. def postRestart(reason: Throwable): Unit

    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  43. def postStop(): Unit

    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  45. def preStart(): Unit

    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  46. final def receive: PartialFunction[Any, Unit]

    Definition Classes
    UntypedActor → Actor
  47. implicit final val self: ActorRef

    Definition Classes
    Actor
  48. final def sender(): ActorRef

    Definition Classes
    Actor
  49. def subscriptionTimeout: Duration

    Subscription timeout after which this actor will become Canceled and reject any incoming "late" subscriber.

    Subscription timeout after which this actor will become Canceled and reject any incoming "late" subscriber.

    The actor will receive an SubscriptionTimeoutExceeded message upon which it MUST react by performing all necessary cleanup and stopping itself.

    Use this feature in order to avoid leaking actors when you suspect that this Publisher may never get subscribed to by some Subscriber.

    Definition Classes
    ActorPublisher
  50. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    UntypedActor → Actor
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. final def totalDemand: Long

    Total number of requested elements from the stream subscriber.

    Total number of requested elements from the stream subscriber. This actor automatically keeps tracks of this amount based on incoming request messages and outgoing onNext.

    Definition Classes
    ActorPublisher
  54. def unhandled(message: Any): Unit

    Definition Classes
    UntypedActor → Actor
  55. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def [B](y: B): (UntypedActorPublisher[T], B)

    Implicit information
    This member is added by an implicit conversion from UntypedActorPublisher[T] to ArrowAssoc[UntypedActorPublisher[T]] 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 UntypedActorPublisher[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (untypedActorPublisher: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from UntypedActorPublisher[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (untypedActorPublisher: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: UntypedActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from UntypedActorPublisher[T] to ArrowAssoc[UntypedActorPublisher[T]] 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:
    (untypedActorPublisher: ArrowAssoc[UntypedActorPublisher[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: UntypedActorPublisher[T]

    Implicit information
    This member is added by an implicit conversion from UntypedActorPublisher[T] to Ensuring[UntypedActorPublisher[T]] 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:
    (untypedActorPublisher: Ensuring[UntypedActorPublisher[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from ActorPublisher[T]

Inherited from UntypedActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from UntypedActorPublisher[T] to StringAdd

Inherited by implicit conversion any2stringfmt from UntypedActorPublisher[T] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from UntypedActorPublisher[T] to ArrowAssoc[UntypedActorPublisher[T]]

Inherited by implicit conversion any2Ensuring from UntypedActorPublisher[T] to Ensuring[UntypedActorPublisher[T]]

Ungrouped