Click or drag to resize
Akka.NETAutoPilot Class
Creates an AutoPilot.

An AutoPilot 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 reuse an AutoPilot for the next message either return the instance or return KeepRunning.

Return NoAutoPilot to stop handling messages.

Inheritance Hierarchy

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public abstract class AutoPilot

The AutoPilot type exposes the following members.

Constructors
  NameDescription
Protected methodAutoPilot
Initializes a new instance of the AutoPilot class
Top
Properties
  NameDescription
Public propertyStatic memberKeepRunning
When returned by another AutoPilot then TestActor will reuse the AutoPilot for the next message.
Public propertyStatic memberNoAutoPilot
When returned by another AutoPilot then no action will be performed by the TestActor for the next message. This is the default AutoPilot used by AutoPilot.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun

This function 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.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also