Class ActorProducerPluginBase<TActor>
Base generic actor producer pipeline plugin class.
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public abstract class ActorProducerPluginBase<TActor> : IActorProducerPlugin where TActor : ActorBase
Type Parameters
Name | Description |
---|---|
TActor |
Methods
| Improve this Doc View SourceAfterIncarnated(TActor, IActorContext)
Plugin behavior applied to actor
instance when the new one is being created.
Declaration
public virtual void AfterIncarnated(TActor actor, IActorContext context)
Parameters
Type | Name | Description |
---|---|---|
TActor | actor | TBD |
IActorContext | context | TBD |
BeforeIncarnated(TActor, IActorContext)
Plugin behavior applied to actor
instance before the actor is being recycled.
Declaration
public virtual void BeforeIncarnated(TActor actor, IActorContext context)
Parameters
Type | Name | Description |
---|---|---|
TActor | actor | TBD |
IActorContext | context | TBD |
CanBeAppliedTo(Type)
By default derivatives of this plugin will be applied to all actors inheriting from TActor
.
Declaration
public virtual bool CanBeAppliedTo(Type actorType)
Parameters
Type | Name | Description |
---|---|---|
Type | actorType | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
Explicit Interface Implementations
| Improve this Doc View SourceIActorProducerPlugin.AfterIncarnated(ActorBase, IActorContext)
Declaration
void IActorProducerPlugin.AfterIncarnated(ActorBase actor, IActorContext context)
Parameters
Type | Name | Description |
---|---|---|
ActorBase | actor | |
IActorContext | context |
IActorProducerPlugin.BeforeIncarnated(ActorBase, IActorContext)
Declaration
void IActorProducerPlugin.BeforeIncarnated(ActorBase actor, IActorContext context)
Parameters
Type | Name | Description |
---|---|---|
ActorBase | actor | |
IActorContext | context |