Object/Trait

de.knutwalker.akka.typed

TypedActor

Related Docs: trait TypedActor | package typed

Permalink

object TypedActor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypedActor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class MkPartialUnionReceive[U <: Union, S <: State] extends AnyRef

    Permalink

    Builder API for creating total union matchers.

    Builder API for creating total union matchers.

    U

    the union type that provided the possible sub cases

    S

    phantom type to ensure at least one case is provided

    See also

    TypedActor.Union

  2. final class MkTotalUnionReceive[U <: Union, T <: Union] extends AnyRef

    Permalink

    Builder API for creating total union matchers.

    Builder API for creating total union matchers. This is the final step, when a covered union is given. Cannot be an AnyVal as this would expose the final receive function.

    U

    the union type that provided the possible sub cases

    T

    the union type of all the alrady given cases

    See also

    TypedActor.TotalUnion

  3. final class MkTotalUnionReceiveEmpty[U <: Union] extends AnyVal

    Permalink

    Builder API for creating total union matchers.

    Builder API for creating total union matchers. This is step 1 when no sub case was given.

    U

    the union type that provided the possible sub cases

    See also

    TypedActor.TotalUnion

  4. final class MkTotalUnionReceiveHalfEmpty[U <: Union, B] extends AnyRef

    Permalink

    Builder API for creating total union matchers.

    Builder API for creating total union matchers. This is step 2 when the first sub case was given. Cannot be an AnyVal as this would expose the final receive function.

    U

    the union type that provided the possible sub cases

    B

    the type of the first sub case

    See also

    TypedActor.TotalUnion

  5. abstract class Of[A] extends TypedActor

    Permalink

    Abstract class to extend from in order to get a TypedActor.

    Abstract class to extend from in order to get a TypedActor. If you want to have the message type provided as a type parameter, you have to add a context bound for scala.reflect.ClassTag.

    class ExampleActor extends TypeActor.Of[ExampleProtocol] {
      // ...
    }
    A

    the message type this actor is receiving

  6. final class TypedBecomeOnAux[U <: Union] extends AnyVal

    Permalink

    Helper to define a new become behavior for a union sub type

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MkPartialUnionReceive

    Permalink
  5. object MkTotalUnionReceive

    Permalink
  6. def apply[A](f: (A) ⇒ Unit)(implicit arg0: ClassTag[A]): Props[A]

    Permalink

    Creates a new typed actor from a total function, forfeiting the functionality of changing behavior.

    Creates a new typed actor from a total function, forfeiting the functionality of changing behavior.

    A

    the message type

    f

    the actors behavior

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped