Click or drag to resize
Akka.NETMailboxType Class
A factory to create IMessageQueues for an optionally provided IActorContext.
Inheritance Hierarchy

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

The MailboxType type exposes the following members.

Constructors
  NameDescription
Protected methodMailboxType
Constructor used for creating a MailboxType
Top
Methods
  NameDescription
Public methodCreate
Creates a new IMessageQueue from the specified parameters.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldConfig
The configuration for this mailbox.
Protected fieldSettings
The settings for the given ActorSystem.
Top
Extension Methods
Remarks
Possibly important notice. When implementing a custom MailboxType, be aware that there is special semantics attached to ActorOf(Props, String) in that sending the returned IActorRef may, for a short period of time, enqueue the messages first in a dummy queue. Top-level actors are created in two steps, and only after the guardian actor ahs performed that second step will all previously sent messages be transferred from the dummy queue to the real mailbox. Implemented as an abstract class in order to enforce constructor requirements.
See Also