Class LocalActorRef
A local actor reference that exists inside the same process as the current ActorSystem.
Inheritance
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public class LocalActorRef : ActorRefWithCell, IInternalActorRef, IActorRef, ICanTell, IEquatable<IActorRef>, IComparable<IActorRef>, ISurrogated, IComparable, IActorRefScope
Constructors
| Improve this Doc View SourceLocalActorRef(ActorSystemImpl, Props, MessageDispatcher, MailboxType, IInternalActorRef, ActorPath)
TBD
Declaration
public LocalActorRef(ActorSystemImpl system, Props props, MessageDispatcher dispatcher, MailboxType mailboxType, IInternalActorRef supervisor, ActorPath path)
Parameters
Type | Name | Description |
---|---|---|
ActorSystemImpl | system | TBD |
Props | props | TBD |
MessageDispatcher | dispatcher | TBD |
MailboxType | mailboxType | TBD |
Akka.Actor.IInternalActorRef | supervisor | TBD |
ActorPath | path | TBD |
Properties
| Improve this Doc View SourceCell
Declaration
public ActorCell Cell { get; }
Property Value
Type | Description |
---|---|
ActorCell |
Children
Declaration
public override IEnumerable<IActorRef> Children { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IActorRef> |
Overrides
Dispatcher
The MessageDispatcher this actor will use to execute its message-processing.
Declaration
protected MessageDispatcher Dispatcher { get; }
Property Value
Type | Description |
---|---|
MessageDispatcher |
IsLocal
Declaration
public override bool IsLocal { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
IsTerminated
Declaration
public override bool IsTerminated { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
MailboxType
The type of mailbox used by this actor
Declaration
protected MailboxType MailboxType { get; }
Property Value
Type | Description |
---|---|
MailboxType |
Parent
Declaration
public override IInternalActorRef Parent { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef |
Overrides
Path
TBD
Declaration
public override ActorPath Path { get; }
Property Value
Type | Description |
---|---|
ActorPath |
Overrides
| Improve this Doc View SourceProps
The Props used to create this actor.
Declaration
protected Props Props { get; }
Property Value
Type | Description |
---|---|
Props |
Provider
The Actor Reference Provider API.
The factory used to produce and create IActorRef instances used inside an ActorSystem.
Declaration
public override IActorRefProvider Provider { get; }
Property Value
Type | Description |
---|---|
IActorRefProvider |
Overrides
Supervisor
The actor's supervisor, typically its parent.
Declaration
protected IInternalActorRef Supervisor { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef |
System
The ActorSystem to which this actor ref belongs.
Declaration
protected ActorSystem System { get; }
Property Value
Type | Description |
---|---|
ActorSystem |
Underlying
Declaration
public override ICell Underlying { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.ICell |
Overrides
Methods
| Improve this Doc View SourceGetChild(IReadOnlyList<String>)
Declaration
public override IActorRef GetChild(IReadOnlyList<string> name)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<String> | name |
Returns
Type | Description |
---|---|
IActorRef |
Overrides
GetSingleChild(String)
Declaration
public override IInternalActorRef GetSingleChild(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
Returns
Type | Description |
---|---|
Akka.Actor.IInternalActorRef |
Overrides
NewActorCell(ActorSystemImpl, IInternalActorRef, Props, MessageDispatcher, IInternalActorRef)
Creates a new ActorCell instance.
Declaration
protected virtual ActorCell NewActorCell(ActorSystemImpl system, IInternalActorRef self, Props props, MessageDispatcher dispatcher, IInternalActorRef supervisor)
Parameters
Type | Name | Description |
---|---|---|
ActorSystemImpl | system | The actor system to which this actor belongs. |
Akka.Actor.IInternalActorRef | self | The reference to this actor. |
Props | props | The Props used to create this actor. |
MessageDispatcher | dispatcher | The dispatcher this actor will run on. |
Akka.Actor.IInternalActorRef | supervisor | A reference to this actor's supervising actor, typically its parent. |
Returns
Type | Description |
---|---|
ActorCell | A reference to an uninitialized actor cell. |
Restart(Exception)
Declaration
public override void Restart(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause |
Overrides
Resume(Exception)
Declaration
public override void Resume(Exception causedByFailure = null)
Parameters
Type | Name | Description |
---|---|---|
Exception | causedByFailure |
Overrides
SendSystemMessage(ISystemMessage)
Declaration
public override void SendSystemMessage(ISystemMessage message)
Parameters
Type | Name | Description |
---|---|---|
ISystemMessage | message |
Overrides
Start()
Declaration
public override void Start()
Overrides
Stop()
Declaration
public override void Stop()
Overrides
Suspend()
Declaration
public override void Suspend()
Overrides
TellInternal(Object, IActorRef)
TBD
Declaration
protected override void TellInternal(object message, IActorRef sender)
Parameters
Type | Name | Description |
---|---|---|
Object | message | TBD |
IActorRef | sender | TBD |