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

Actor that envelopes all received messages in

See also
TestMessage<T>

and forwards to test actor More...

Inheritance diagram for KlusterKite.Core.TestKit.TestActorForwarder:

Classes

class  CreateChildMessage
 Child creation instructions More...
 

Public Member Functions

 TestActorForwarder (IActorRef testActor)
 Initializes a new instance of the TestActorForwarder class. More...
 
void CreateChild (CreateChildMessage createChild)
 Creates child actor for actor hierarchy testing More...
 

Static Public Member Functions

static string RootedPath (string path)
 Gets self path related to actor system root More...
 

Protected Member Functions

virtual void ForwardMessage (object obj)
 Message forwarding to test actor More...
 

Protected Attributes

readonly IActorRef TestActor
 The test actor reference. More...
 

Detailed Description

Actor that envelopes all received messages in

See also
TestMessage<T>

and forwards to test actor

Definition at line 23 of file TestActorForwarder.cs.

Constructor & Destructor Documentation

◆ TestActorForwarder()

KlusterKite.Core.TestKit.TestActorForwarder.TestActorForwarder ( IActorRef  testActor)

Initializes a new instance of the TestActorForwarder class.

Parameters
testActorThe test actor reference.

Definition at line 36 of file TestActorForwarder.cs.

Member Function Documentation

◆ CreateChild()

void KlusterKite.Core.TestKit.TestActorForwarder.CreateChild ( CreateChildMessage  createChild)

Creates child actor for actor hierarchy testing

Parameters
createChildChild creation instructions

Definition at line 69 of file TestActorForwarder.cs.

◆ ForwardMessage()

virtual void KlusterKite.Core.TestKit.TestActorForwarder.ForwardMessage ( object  obj)
protectedvirtual

Message forwarding to test actor

Parameters
objThe original message

Definition at line 86 of file TestActorForwarder.cs.

◆ RootedPath()

static string KlusterKite.Core.TestKit.TestActorForwarder.RootedPath ( string  path)
static

Gets self path related to actor system root

Parameters
pathFull actor path
Returns
path related to actor system root

Definition at line 52 of file TestActorForwarder.cs.

Member Data Documentation

◆ TestActor

readonly IActorRef KlusterKite.Core.TestKit.TestActorForwarder.TestActor
protected

The test actor reference.

Definition at line 28 of file TestActorForwarder.cs.


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