C# Class Akka.Dispatch.Mailbox

Class Mailbox.
Inheritance: IDisposable
Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Protected Properties

Свойство Type Description
dispatcher MessageDispatcher
hasUnscheduledMessages bool
status int

Private Properties

Свойство Type Description
DebugPrint void

Méthodes publiques

Méthode Description
BecomeClosed ( ) : void

Stops this instance.

CleanUp ( ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Post ( IActorRef receiver, Envelope envelope ) : void

Posts the specified envelope to the mailbox.

Resume ( ) : void
Resume ( MailboxSuspendStatus reason ) : void
SetActor ( ActorCell actorCell ) : void

Attaches an ActorCell to the Mailbox.

Setup ( MessageDispatcher dispatcher ) : void

Attaches a MessageDispatcher to the Mailbox.

Start ( ) : void
Suspend ( ) : void
Suspend ( MailboxSuspendStatus reason ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

GetNumberOfMessages ( ) : int
Schedule ( ) : void

Private Methods

Méthode Description
DebugPrint ( string message ) : void

Method Details

BecomeClosed() public abstract méthode

Stops this instance.
public abstract BecomeClosed ( ) : void
Résultat void

CleanUp() public abstract méthode

public abstract CleanUp ( ) : void
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

GetNumberOfMessages() protected abstract méthode

protected abstract GetNumberOfMessages ( ) : int
Résultat int

Post() public abstract méthode

Posts the specified envelope to the mailbox.
public abstract Post ( IActorRef receiver, Envelope envelope ) : void
receiver IActorRef
envelope Akka.Actor.Envelope The envelope.
Résultat void

Resume() public méthode

public Resume ( ) : void
Résultat void

Resume() public méthode

public Resume ( MailboxSuspendStatus reason ) : void
reason MailboxSuspendStatus
Résultat void

Schedule() protected abstract méthode

protected abstract Schedule ( ) : void
Résultat void

SetActor() public méthode

Attaches an ActorCell to the Mailbox.
public SetActor ( ActorCell actorCell ) : void
actorCell Akka.Actor.ActorCell
Résultat void

Setup() public méthode

Attaches a MessageDispatcher to the Mailbox.
public Setup ( MessageDispatcher dispatcher ) : void
dispatcher MessageDispatcher The dispatcher.
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Suspend() public méthode

public Suspend ( ) : void
Résultat void

Suspend() public méthode

public Suspend ( MailboxSuspendStatus reason ) : void
reason MailboxSuspendStatus
Résultat void

Property Details

dispatcher protected_oe property

protected MessageDispatcher,Akka.Dispatch dispatcher
Résultat MessageDispatcher

hasUnscheduledMessages protected_oe property

The has unscheduled messages
protected bool hasUnscheduledMessages
Résultat bool

status protected_oe property

The mailbox status (busy or idle)
protected int status
Résultat int