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.
public sealed class DelegateAutoPilot : AutoPilot
- Inheritance
-
DelegateAutoPilot
- Inherited Members
Constructors
DelegateAutoPilot(AutoPilotDelegate)
TBD
public DelegateAutoPilot(AutoPilotDelegate autoPilotDelegate)
Parameters
autoPilotDelegate
AutoPilotDelegateTBD
Methods
Run(IActorRef, object)
TBD
public override AutoPilot Run(IActorRef sender, object message)
Parameters
sender
IActorRefTBD
message
objectTBD
Returns
- AutoPilot
TBD