KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Core.NameSpaceActor Class Reference

Actor to provide namespace in actors tree. Usually used only once in library More...

Inheritance diagram for KlusterKite.Core.NameSpaceActor:
KlusterKite.Core.TestKit.NameSpaceForwarder

Public Member Functions

 NameSpaceActor (IComponentContext componentContext)
 Initializes a new instance of the NameSpaceActor class. More...
 

Protected Member Functions

virtual void CreateShardingActor (IActorContext context, Config actorConfig, IComponentContext container, string pathName)
 Creates cluster sharding actor from config More...
 
virtual void CreateShardingProxyActor (IActorContext context, Config actorConfig, IComponentContext container, string pathName)
 Creates cluster sharding proxy actor from config More...
 
virtual void CreateSimpleActor (IActorContext context, Config actorConfig, IComponentContext container, string currentPath, string pathName)
 Creates simple actor from config More...
 
virtual void CreateSingletonActor (IActorContext context, Config actorConfig, string currentPath, string pathName)
 Creates cluster singleton actor from config More...
 
virtual void CreateSingletonProxyActor (IActorContext context, Config actorConfig, string currentPath, string pathName)
 Creates cluster singleton proxy actor from config More...
 
override void OnReceive (object message)
 The on receive. More...
 
override void PreStart ()
 

Detailed Description

Actor to provide namespace in actors tree. Usually used only once in library

Definition at line 26 of file NameSpaceActor.cs.

Constructor & Destructor Documentation

◆ NameSpaceActor()

KlusterKite.Core.NameSpaceActor.NameSpaceActor ( IComponentContext  componentContext)

Initializes a new instance of the NameSpaceActor class.

Parameters
componentContextDependency resolver

Definition at line 39 of file NameSpaceActor.cs.

Member Function Documentation

◆ CreateShardingActor()

virtual void KlusterKite.Core.NameSpaceActor.CreateShardingActor ( IActorContext  context,
Config  actorConfig,
IComponentContext  container,
string  pathName 
)
protectedvirtual

Creates cluster sharding actor from config

Parameters
contextCurrent actor context (will create child actor)
actorConfigConfiguration to create from
containerDependency resolver
pathNameNew actor's path name

Definition at line 51 of file NameSpaceActor.cs.

◆ CreateShardingProxyActor()

virtual void KlusterKite.Core.NameSpaceActor.CreateShardingProxyActor ( IActorContext  context,
Config  actorConfig,
IComponentContext  container,
string  pathName 
)
protectedvirtual

Creates cluster sharding proxy actor from config

Parameters
contextCurrent actor context (will create child actor)
actorConfigConfiguration to create from
containerDependency resolver
pathNameNew actor's path name

Definition at line 67 of file NameSpaceActor.cs.

◆ CreateSimpleActor()

virtual void KlusterKite.Core.NameSpaceActor.CreateSimpleActor ( IActorContext  context,
Config  actorConfig,
IComponentContext  container,
string  currentPath,
string  pathName 
)
protectedvirtual

Creates simple actor from config

Parameters
contextCurrent actor context (will create child actor)
actorConfigConfiguration to create from
containerDependency resolver
currentPathParent (current) actor path
pathNameNew actor's path name

Reimplemented in KlusterKite.Core.TestKit.NameSpaceForwarder.

Definition at line 84 of file NameSpaceActor.cs.

◆ CreateSingletonActor()

virtual void KlusterKite.Core.NameSpaceActor.CreateSingletonActor ( IActorContext  context,
Config  actorConfig,
string  currentPath,
string  pathName 
)
protectedvirtual

Creates cluster singleton actor from config

Parameters
contextCurrent actor context (will create child actor)
actorConfigConfiguration to create from
currentPathParent (current) actor path
pathNameNew actor's path name

Definition at line 137 of file NameSpaceActor.cs.

◆ CreateSingletonProxyActor()

virtual void KlusterKite.Core.NameSpaceActor.CreateSingletonProxyActor ( IActorContext  context,
Config  actorConfig,
string  currentPath,
string  pathName 
)
protectedvirtual

Creates cluster singleton proxy actor from config

Parameters
contextCurrent actor context (will create child actor)
actorConfigConfiguration to create from
currentPathParent (current) actor path
pathNameNew actor's path name

Definition at line 213 of file NameSpaceActor.cs.

◆ OnReceive()

override void KlusterKite.Core.NameSpaceActor.OnReceive ( object  message)
protected

The on receive.

Parameters
messageThe message.

Definition at line 282 of file NameSpaceActor.cs.

◆ PreStart()

override void KlusterKite.Core.NameSpaceActor.PreStart ( )
protected

Definition at line 288 of file NameSpaceActor.cs.


The documentation for this class was generated from the following file: