C# Class Akka.Remote.TestKit.Controller

This controls test execution by managing barriers (delegated to BarrierCoordinator, its child) and allowing network and other failures to be injected at the test nodes. INTERNAL API.
Inheritance: Akka.Actor.UntypedActor
Show file Open project: rogeralsing/akka.net

Public Methods

Method Description
Controller ( int initialParticipants, IPEndPoint controllerPort ) : System

Protected Methods

Method Description
OnReceive ( object message ) : void
PostStop ( ) : void
SupervisorStrategy ( ) : Akka.Actor.SupervisorStrategy

Supervision of the BarrierCoordinator means to catch all his bad emotions and sometimes console him (BarrierEmpty, BarrierTimeout), sometimes tell him to hate the world (WrongBarrier, DuplicateNode, ClientLost). The latter shall help terminate broken tests as quickly as possible (i.e. without awaiting BarrierTimeouts in the players).

Private Methods

Method Description
FailBarrier ( BarrierCoordinator data ) : Directive

Method Details

Controller() public method

public Controller ( int initialParticipants, IPEndPoint controllerPort ) : System
initialParticipants int
controllerPort IPEndPoint
return System

OnReceive() protected method

protected OnReceive ( object message ) : void
message object
return void

PostStop() protected method

protected PostStop ( ) : void
return void

SupervisorStrategy() protected method

Supervision of the BarrierCoordinator means to catch all his bad emotions and sometimes console him (BarrierEmpty, BarrierTimeout), sometimes tell him to hate the world (WrongBarrier, DuplicateNode, ClientLost). The latter shall help terminate broken tests as quickly as possible (i.e. without awaiting BarrierTimeouts in the players).
protected SupervisorStrategy ( ) : Akka.Actor.SupervisorStrategy
return Akka.Actor.SupervisorStrategy