KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The namespace actor, that also forwards all it's messages to the test actor More...
Public Member Functions | |
NameSpaceForwarder (IComponentContext componentContext, IActorRef testActor) | |
Initializes a new instance of the NameSpaceForwarder class. More... | |
Public Member Functions inherited from KlusterKite.Core.NameSpaceActor | |
NameSpaceActor (IComponentContext componentContext) | |
Initializes a new instance of the NameSpaceActor class. More... | |
Protected Member Functions | |
override void | CreateSimpleActor (IActorContext context, Config actorConfig, IComponentContext componentContext, string currentPath, string pathName) |
Creates simple actor from config More... | |
virtual void | ForwardMessage (object obj) |
Message forwarding to test actor More... | |
override void | OnReceive (object message) |
To be implemented by concrete UntypedActor, this defines the behavior of the UntypedActor. This method is called for every message received by the actor. More... | |
Protected Member Functions inherited from KlusterKite.Core.NameSpaceActor | |
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 | 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 () |
The namespace actor, that also forwards all it's messages to the test actor
Definition at line 30 of file NameSpaceForwarder.cs.
KlusterKite.Core.TestKit.NameSpaceForwarder.NameSpaceForwarder | ( | IComponentContext | componentContext, |
IActorRef | testActor | ||
) |
Initializes a new instance of the NameSpaceForwarder class.
componentContext | The access to dependency injection |
testActor | The test actor reference |
Definition at line 42 of file NameSpaceForwarder.cs.
|
protectedvirtual |
Creates simple actor from config
context | Current actor context (will create child actor) |
actorConfig | Configuration to create from |
componentContext | Dependency resolver |
currentPath | Parent (current) actor path |
pathName | New actor's path name |
Reimplemented from KlusterKite.Core.NameSpaceActor.
Definition at line 60 of file NameSpaceForwarder.cs.
|
protectedvirtual |
Message forwarding to test actor
obj | The original message |
Definition at line 114 of file NameSpaceForwarder.cs.
|
protected |
To be implemented by concrete UntypedActor, this defines the behavior of the UntypedActor. This method is called for every message received by the actor.
message | The message. |
Definition at line 128 of file NameSpaceForwarder.cs.