Click or drag to resize
Akka.NETMessageDispatcher Class
Class responsible for pushing messages from an actor's mailbox into its receive methods. Comes in many different flavors.
Inheritance Hierarchy

Namespace:  Akka.Dispatch
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract class MessageDispatcher

The MessageDispatcher type exposes the following members.

Constructors
  NameDescription
Protected methodMessageDispatcher
Initializes a new instance of the MessageDispatcher class.
Top
Properties
  NameDescription
Public propertyConfigurator
The configurator used to configure this message dispatcher.
Public propertyEventStream
The EventStream for this dispatcher's actor system
Public propertyId
The ID for this dispatcher.
Protected propertyInhabitants
The number of actors attached to this MessageDispatcher
Public propertyMailboxes
The list of available Mailboxes for this dispatcher's actor system
Public propertyShutdownTimeout
INTERNAL API When the dispatcher no longer has any actors registered, the ShutdownTimeout determines how long it will wait until it shuts itself down, defaulting to your Akka.NET config's 'akka.actor.default-dispatcher.shutdown-timeout' or the system default specified.
Public propertyThroughput
Gets or sets the throughput.
Public propertyThroughputDeadlineTime
Gets or sets the throughput deadline time.
Top
Methods
  NameDescription
Public methodAttach
Attaches the dispatcher to the ActorCell
Remarks
Practically, doesn't do very much right now - dispatchers aren't responsible for creating mailboxes in Akka.NET
Public methodDetach
Detaches the dispatcher to the ActorCell
Remarks
Only really used in dispatchers with 1:1 relationship with dispatcher.
Public methodDispatch
Dispatches a user-defined message from a mailbox to an ActorCell
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteTask
Schedules the IRunnable to be executed.
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.)
Protected methodReportFailure
Publish failure that occurred while inside the running MessageDispatcher to the EventStream.
Public methodSchedule(Action)
Schedules the specified delegate.
Public methodSchedule(IRunnable)
Schedules an arbitrary task to run.
Protected methodShutdown
INTERNAL API Called one time every time an actor is detached from this dispatcher and this dispatcher has no actors left attached
Public methodSystemDispatch
Dispatches a SystemMessage from a mailbox to an ActorCell
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultThroughput
The default throughput
Top
Extension Methods
See Also