Click or drag to resize
Akka.NETBoundedMailboxCreate Method
A factory to create IMessageQueues for an optionally provided IActorContext.

Namespace:  Akka.Dispatch
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public override IMessageQueue Create(
	IActorRef owner,
	ActorSystem system
)

Parameters

owner
Type: Akka.ActorIActorRef

[Missing <param name="owner"/> documentation for "M:Akka.Dispatch.BoundedMailbox.Create(Akka.Actor.IActorRef,Akka.Actor.ActorSystem)"]

system
Type: Akka.ActorActorSystem

[Missing <param name="system"/> documentation for "M:Akka.Dispatch.BoundedMailbox.Create(Akka.Actor.IActorRef,Akka.Actor.ActorSystem)"]

Return Value

Type: IMessageQueue

[Missing <returns> documentation for "M:Akka.Dispatch.BoundedMailbox.Create(Akka.Actor.IActorRef,Akka.Actor.ActorSystem)"]

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