C# Class Akka.TestKit.TestScheduler

Inheritance: IScheduler, IAdvancedScheduler
Datei anzeigen Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
Advance ( System.TimeSpan offset ) : void
AdvanceTo ( DateTimeOffset when ) : void
ScheduleOnce ( System.TimeSpan delay, System.Action action ) : void
ScheduleOnce ( System.TimeSpan delay, System.Action action, ICancelable cancelable ) : void
ScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action ) : void
ScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action, ICancelable cancelable ) : void
ScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender ) : void
ScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
ScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender ) : void
ScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
TestScheduler ( ActorSystem system ) : System

Private Methods

Method Description
InternalSchedule ( System.TimeSpan initialDelay, System.TimeSpan delay, ICanTell receiver, object message, System.Action action, IActorRef sender, ICancelable cancelable, int deliveryCount ) : void

Method Details

Advance() public method

public Advance ( System.TimeSpan offset ) : void
offset System.TimeSpan
return void

AdvanceTo() public method

public AdvanceTo ( DateTimeOffset when ) : void
when DateTimeOffset
return void

ScheduleOnce() public method

public ScheduleOnce ( System.TimeSpan delay, System.Action action ) : void
delay System.TimeSpan
action System.Action
return void

ScheduleOnce() public method

public ScheduleOnce ( System.TimeSpan delay, System.Action action, ICancelable cancelable ) : void
delay System.TimeSpan
action System.Action
cancelable ICancelable
return void

ScheduleRepeatedly() public method

public ScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
action System.Action
return void

ScheduleRepeatedly() public method

public ScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action, ICancelable cancelable ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
action System.Action
cancelable ICancelable
return void

ScheduleTellOnce() public method

public ScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender ) : void
delay System.TimeSpan
receiver ICanTell
message object
sender IActorRef
return void

ScheduleTellOnce() public method

public ScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
delay System.TimeSpan
receiver ICanTell
message object
sender IActorRef
cancelable ICancelable
return void

ScheduleTellRepeatedly() public method

public ScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
receiver ICanTell
message object
sender IActorRef
return void

ScheduleTellRepeatedly() public method

public ScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
receiver ICanTell
message object
sender IActorRef
cancelable ICancelable
return void

TestScheduler() public method

public TestScheduler ( ActorSystem system ) : System
system ActorSystem
return System