Packages

abstract class ActionRouter[A <: Action] extends AnyRef

INTERNAL API, but used by generated code.

Source
ActionRouter.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionRouter
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ActionRouter(action: A)

Abstract Value Members

  1. abstract def handleStreamed(commandName: String, stream: Source[MessageEnvelope[Any], NotUsed]): Source[Effect[_], NotUsed]

    Handle a full duplex streamed in call.

    Handle a full duplex streamed in call.

    commandName

    The name of the command this call is for.

    stream

    The stream of messages to handle.

    returns

    The stream of messages to return.

  2. abstract def handleStreamedIn(commandName: String, stream: Source[MessageEnvelope[Any], NotUsed]): Effect[_]

    Handle a streamed in call.

    Handle a streamed in call.

    commandName

    The name of the command this call is for.

    stream

    The stream of messages to handle.

    returns

    A future of the message to return.

  3. abstract def handleStreamedOut(commandName: String, message: MessageEnvelope[Any]): Source[Effect[_], NotUsed]

    Handle a streamed out call call.

    Handle a streamed out call call.

    commandName

    The name of the command this call is for.

    message

    The message envelope of the message.

    returns

    The stream of messages to return.

  4. abstract def handleUnary(commandName: String, message: MessageEnvelope[Any]): Effect[_]

    Handle a unary call.

    Handle a unary call.

    commandName

    The name of the command this call is for.

    message

    The message envelope of the message.

    returns

    A future of the message to return.

    Annotations
    @throws(scala.this.throws.<init>$default$1[Throwable])

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toany2stringadd[ActionRouter[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ActionRouter[A], B)
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toArrowAssoc[ActionRouter[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val action: A
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def ensuring(cond: (ActionRouter[A]) => Boolean, msg: => Any): ActionRouter[A]
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toEnsuring[ActionRouter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ActionRouter[A]) => Boolean): ActionRouter[A]
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toEnsuring[ActionRouter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): ActionRouter[A]
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toEnsuring[ActionRouter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ActionRouter[A]
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toEnsuring[ActionRouter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def handleStreamed(commandName: String, stream: Source[MessageEnvelope[Any], NotUsed], context: ActionContext): Source[Effect[_], NotUsed]

    Handle a full duplex streamed in call.

    Handle a full duplex streamed in call.

    commandName

    The name of the command this call is for.

    stream

    The stream of messages to handle.

    context

    The action context.

    returns

    The stream of messages to return.

  17. final def handleStreamedIn(commandName: String, stream: Source[MessageEnvelope[Any], NotUsed], context: ActionContext): Effect[_]

    Handle a streamed in call.

    Handle a streamed in call.

    commandName

    The name of the command this call is for.

    stream

    The stream of messages to handle.

    context

    The action context.

    returns

    A future of the message to return.

  18. final def handleStreamedOut(commandName: String, message: MessageEnvelope[Any], context: ActionContext): Source[Effect[_], NotUsed]

    Handle a streamed out call call.

    Handle a streamed out call call.

    commandName

    The name of the command this call is for.

    message

    The message envelope of the message.

    context

    The action context.

    returns

    The stream of messages to return.

  19. final def handleUnary(commandName: String, message: MessageEnvelope[Any], context: ActionContext): Effect[_]

    Handle a unary call.

    Handle a unary call.

    commandName

    The name of the command this call is for.

    message

    The message envelope of the message.

    context

    The action context.

    returns

    A future of the message to return.

    Annotations
    @throws(scala.this.throws.<init>$default$1[Throwable])
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toStringFormat[ActionRouter[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ActionRouter[A], B)
    Implicit
    This member is added by an implicit conversion from ActionRouter[A] toArrowAssoc[ActionRouter[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromActionRouter[A] to any2stringadd[ActionRouter[A]]

Inherited by implicit conversion StringFormat fromActionRouter[A] to StringFormat[ActionRouter[A]]

Inherited by implicit conversion Ensuring fromActionRouter[A] to Ensuring[ActionRouter[A]]

Inherited by implicit conversion ArrowAssoc fromActionRouter[A] to ArrowAssoc[ActionRouter[A]]

Ungrouped