Trait

jsactor

JsActorContext

Related Doc: package jsactor

Permalink

trait JsActorContext extends JsActorRefFactory

Linear Supertypes
JsActorRefFactory, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsActorContext
  2. JsActorRefFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def actorOf(props: JsProps, name: String): JsActorRef

    Permalink
    Definition Classes
    JsActorRefFactory
  2. abstract def actorOf(props: JsProps): JsActorRef

    Permalink
    Definition Classes
    JsActorRefFactory
  3. abstract def become(behavior: Receive, discardOld: Boolean): Unit

    Permalink

    Changes the Actor's behavior to become the new 'Receive' (PartialFunction[Any, Unit]) handler.

    Changes the Actor's behavior to become the new 'Receive' (PartialFunction[Any, Unit]) handler. This method acts upon the behavior stack as follows:

    • if discardOld = true it will replace the top element (i.e. the current behavior)
    • if discardOld = false it will keep the current behavior and push the given one atop

    The default of replacing the current behavior on the stack has been chosen to avoid memory leaks in case client code is written without consulting this documentation first (i.e. always pushing new behaviors and never issuing an unbecome())

  4. abstract def child(name: String): Option[JsActorRef]

    Permalink
  5. abstract def children: Iterable[JsActorRef]

    Permalink
  6. implicit abstract def dispatcher: ExecutionContextExecutor

    Permalink
    Definition Classes
    JsActorContextJsActorRefFactory
  7. abstract def parent: JsActorRef

    Permalink

    Returns the supervising parent ActorRef.

  8. abstract def props: JsProps

    Permalink
  9. abstract def receiveTimeout: Duration

    Permalink
  10. abstract def self: JsActorRef

    Permalink
  11. abstract def sender(): JsActorRef

    Permalink
  12. abstract def setReceiveTimeout(timeout: Duration): Unit

    Permalink
  13. abstract def stop(actor: JsActorRef): Unit

    Permalink
    Definition Classes
    JsActorRefFactory
  14. implicit abstract def system: JsActorSystem

    Permalink

    The system that the actor belongs to.

    The system that the actor belongs to. Importing this member will place an implicit ActorSystem in scope.

  15. abstract def unbecome(): Unit

    Permalink

    Reverts the Actor behavior to the previous one on the behavior stack.

  16. abstract def unwatch(subject: JsActorRef): JsActorRef

    Permalink

    Unregisters this actor as Monitor for the provided ActorRef.

    Unregisters this actor as Monitor for the provided ActorRef.

    returns

    the provided ActorRef

  17. abstract def watch(subject: JsActorRef): JsActorRef

    Permalink

    Registers this actor as a Monitor for the provided ActorRef.

    Registers this actor as a Monitor for the provided ActorRef. This actor will receive a Terminated(subject) message when watched actor is terminated.

    returns

    the provided ActorRef

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def become(behavior: Receive): Unit

    Permalink

    Changes the Actor's behavior to become the new 'Receive' (PartialFunction[Any, Unit]) handler.

    Changes the Actor's behavior to become the new 'Receive' (PartialFunction[Any, Unit]) handler. Replaces the current behavior on the top of the behavior stack.

  6. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from JsActorRefFactory

Inherited from AnyRef

Inherited from Any

Ungrouped