C# Class Akka.Dispatch.Mailbox

Class Mailbox.
Inheritance: IDisposable
Mostra file Open project: rogeralsing/akka.net Class Usage Examples

Protected Properties

Property Type Description
dispatcher MessageDispatcher
hasUnscheduledMessages bool
status int

Private Properties

Property Type Description
DebugPrint void

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

GetNumberOfMessages ( ) : int
Schedule ( ) : void

Private Methods

Method Description
DebugPrint ( string message ) : void

Method Details

BecomeClosed() public abstract method

Stops this instance.
public abstract BecomeClosed ( ) : void
return void

CleanUp() public abstract method

public abstract CleanUp ( ) : void
return void

Dispose() public method

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

Dispose() protected method

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.
return void

GetNumberOfMessages() protected abstract method

protected abstract GetNumberOfMessages ( ) : int
return int

Post() public abstract method

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

Resume() public method

public Resume ( ) : void
return void

Resume() public method

public Resume ( MailboxSuspendStatus reason ) : void
reason MailboxSuspendStatus
return void

Schedule() protected abstract method

protected abstract Schedule ( ) : void
return void

SetActor() public method

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

Setup() public method

Attaches a MessageDispatcher to the Mailbox.
public Setup ( MessageDispatcher dispatcher ) : void
dispatcher MessageDispatcher The dispatcher.
return void

Start() public method

public Start ( ) : void
return void

Suspend() public method

public Suspend ( ) : void
return void

Suspend() public method

public Suspend ( MailboxSuspendStatus reason ) : void
reason MailboxSuspendStatus
return void

Property Details

dispatcher protected_oe property

protected MessageDispatcher,Akka.Dispatch dispatcher
return MessageDispatcher

hasUnscheduledMessages protected_oe property

The has unscheduled messages
protected bool hasUnscheduledMessages
return bool

status protected_oe property

The mailbox status (busy or idle)
protected int status
return int