Packages

c

akka.actor.typed.Behavior

BehaviorDecorators

implicit final class BehaviorDecorators[T] extends AnyVal

Source
Behavior.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BehaviorDecorators
  2. AnyVal
  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. All

Instance Constructors

  1. new BehaviorDecorators(behavior: Behavior[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to any2stringadd[BehaviorDecorators[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BehaviorDecorators[T], B)
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to ArrowAssoc[BehaviorDecorators[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val behavior: Behavior[T]
  8. def ensuring(cond: (BehaviorDecorators[T]) ⇒ Boolean, msg: ⇒ Any): BehaviorDecorators[T]
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to Ensuring[BehaviorDecorators[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (BehaviorDecorators[T]) ⇒ Boolean): BehaviorDecorators[T]
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to Ensuring[BehaviorDecorators[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): BehaviorDecorators[T]
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to Ensuring[BehaviorDecorators[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): BehaviorDecorators[T]
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to Ensuring[BehaviorDecorators[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to StringFormat[BehaviorDecorators[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def toString(): String
    Definition Classes
    Any
  16. def widen[U](matcher: PartialFunction[U, T]): Behavior[U]

    Widen the wrapped Behavior by placing a funnel in front of it: the supplied PartialFunction decides which message to pull in (those that it is defined at) and may transform the incoming message to place them into the wrapped Behavior’s type hierarchy.

    Widen the wrapped Behavior by placing a funnel in front of it: the supplied PartialFunction decides which message to pull in (those that it is defined at) and may transform the incoming message to place them into the wrapped Behavior’s type hierarchy. Signals are not transformed.

    Example:

    receive[String] { (ctx, msg) => println(msg); same }.widen[Number] {
      case b: BigDecimal => s"BigDecimal($b)"
      case i: BigInteger => s"BigInteger($i)"
      // all other kinds of Number will be `unhandled`
    }

    Scheduled messages via akka.actor.typed.scaladsl.TimerScheduler can currently not be used together with widen, see issue #25318.

  17. def [B](y: B): (BehaviorDecorators[T], B)
    Implicit
    This member is added by an implicit conversion from BehaviorDecorators[T] to ArrowAssoc[BehaviorDecorators[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from BehaviorDecorators[T] to any2stringadd[BehaviorDecorators[T]]

Inherited by implicit conversion StringFormat from BehaviorDecorators[T] to StringFormat[BehaviorDecorators[T]]

Inherited by implicit conversion Ensuring from BehaviorDecorators[T] to Ensuring[BehaviorDecorators[T]]

Inherited by implicit conversion ArrowAssoc from BehaviorDecorators[T] to ArrowAssoc[BehaviorDecorators[T]]

Ungrouped