Click or drag to resize
Akka.NETIMessageQueue Interface
Interface to be implemented by all mailbox message queues

Namespace:  Akka.Dispatch.MessageQueues
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public interface IMessageQueue

The IMessageQueue type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the count of messages currently in the message queue
Public propertyHasMessages
Tests if the message queue contains any messages
Top
Methods
  NameDescription
Public methodCleanUp
Called when the Mailbox this queue belongs to is disposed of. Normally it is expected to transfer all remaining messages into the deadletter queue which is passed in. The owner of this IMessageQueue is passed in if available (e.g. for creating DeadLetters), "/deadletters" otherwise.
Public methodEnqueue
Enqueues an mailbox envelope onto the message queue
Public methodTryDequeue
Tries to pull an envelope of the message queue
Top
See Also