Click or drag to resize
Akka.NETICell Interface
Remarks
Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public interface ICell

The ICell type exposes the following members.

Properties
  NameDescription
Public propertyChildrenContainer
TBD
Public propertyHasMessages
If the actor isLocal, returns whether "user messages" are currently queued, falseotherwise.
Public propertyIsLocal
Returns true if the actor is local.
Public propertyIsTerminated
TBD
Public propertyNumberOfMessages
If the actor isLocal, returns the number of "user messages" currently queued, which may be a costly operation, 0 otherwise.
Public propertyParent
The supervisor of this actor.
Public propertyProps
The props for this actor cell.
Public propertySelf
Gets the "self" reference which this Cell is attached to.
Public propertySystem
The system within which this Cell lives.
Public propertySystemImpl
The system internals within which this Cell lives.
Top
Methods
  NameDescription
Public methodGetChildByName
TBD
Public methodGetChildren Obsolete.
TBD
Public methodGetSingleChild
Method for looking up a single child beneath this actor. It is racy if called from the outside.
Public methodRestart
Restart this actor (will recursively restart or stop all children). Is only allowed to throw Fatal Throwables.
Public methodResume
Recursively resume this actor and all its children. Is only allowed to throw fatal exceptions.
Public methodSendMessage
TBD
Public methodSendSystemMessage
Enqueue a message to be sent to the actor; may or may not actually schedule the actor to run, depending on which type of cell it is.
Public methodStart
Start the cell: enqueued message must not be processed before this has been called. The usual action is to attach the mailbox to a dispatcher.
Public methodStop
Recursively terminate this actor and all its children. Is only allowed to throw Fatal Throwables.
Public methodSuspend
Recursively suspend this actor and all its children. Is only allowed to throw fatal exceptions.
Public methodTryGetChildStatsByName
Tries to get the stats for the child with the specified name. The stats can be either ChildNameReserved indicating that only a name has been reserved for the child, or a ChildRestartStats for a child that has been initialized/created.
Top
See Also