Class DelegateAutoPilot
Creates an AutoPilot.
The AutoPilotDelegate specified in the constructor will be called for each received message and can be used to send or forward messages, etc.
Each invocation must return the AutoPilot for the next round.
To have this instance handle the next message either return this instance or return KeepRunning.
Return NoAutoPilot to stop handling messages.
Inherited Members
Namespace: Akka.TestKit
Assembly: Akka.TestKit.dll
Syntax
public sealed class DelegateAutoPilot : AutoPilot
Constructors
| Improve this Doc View SourceDelegateAutoPilot(AutoPilotDelegate)
TBD
Declaration
public DelegateAutoPilot(AutoPilotDelegate autoPilotDelegate)
Parameters
Type | Name | Description |
---|---|---|
AutoPilotDelegate | autoPilotDelegate | TBD |
Methods
| Improve this Doc View SourceRun(IActorRef, Object)
TBD
Declaration
public override AutoPilot Run(IActorRef sender, object message)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | sender | TBD |
Object | message | TBD |
Returns
Type | Description |
---|---|
AutoPilot | TBD |