final case class ContextualTypedActorFactory(typedActor: TypedActorExtension, actorFactory: ActorContext) extends TypedActorFactory with Product with Serializable
ContextualTypedActorFactory allows TypedActors to create children, effectively forming the same Actor Supervision Hierarchies as normal Actors can.
- Source
- TypedActor.scala
- Alphabetic
- By Inheritance
- ContextualTypedActorFactory
- Serializable
- Serializable
- Product
- Equals
- TypedActorFactory
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContextualTypedActorFactory(typedActor: TypedActorExtension, actorFactory: ActorContext)
Value Members
-
val
actorFactory: ActorContext
Underlying dependency is to be able to create normal Actors
Underlying dependency is to be able to create normal Actors
- Definition Classes
- ContextualTypedActorFactory → TypedActorFactory
-
def
getActorRefFor(proxy: AnyRef): ActorRef
Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found
Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found
- Definition Classes
- ContextualTypedActorFactory → TypedActorFactory
-
def
isTypedActor(proxyOrNot: AnyRef): Boolean
Returns whether the supplied AnyRef is a TypedActor proxy or not
Returns whether the supplied AnyRef is a TypedActor proxy or not
- Definition Classes
- ContextualTypedActorFactory → TypedActorFactory
-
def
poisonPill(proxy: AnyRef): Boolean
Sends a PoisonPill the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
Sends a PoisonPill the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
- Definition Classes
- TypedActorFactory
-
def
stop(proxy: AnyRef): Boolean
Stops the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
Stops the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
- Definition Classes
- TypedActorFactory
-
val
typedActor: TypedActorExtension
Underlying dependency to a TypedActorExtension, which can either be contextual or ActorSystem "global"
Underlying dependency to a TypedActorExtension, which can either be contextual or ActorSystem "global"
- Definition Classes
- ContextualTypedActorFactory → TypedActorFactory
-
def
typedActorOf[R <: AnyRef, T <: R](props: TypedProps[T], actorRef: ActorRef): R
Creates a TypedActor that intercepts the calls and forwards them as akka.actor.TypedActor.MethodCall to the provided ActorRef.
Creates a TypedActor that intercepts the calls and forwards them as akka.actor.TypedActor.MethodCall to the provided ActorRef.
- Definition Classes
- TypedActorFactory
-
def
typedActorOf[R <: AnyRef, T <: R](props: TypedProps[T], name: String): R
Creates a new TypedActor with the specified properties
Creates a new TypedActor with the specified properties
- Definition Classes
- TypedActorFactory
-
def
typedActorOf[R <: AnyRef, T <: R](props: TypedProps[T]): R
Creates a new TypedActor with the specified properties
Creates a new TypedActor with the specified properties
- Definition Classes
- TypedActorFactory