C# Class Akka.Remote.RemoteSystemDaemon

INTERNAL API Internal system "daemon" actor for remote internal communication. It acts as the brain of the remote that responds to system remote messages and executes actions accordingly.
Inheritance: Akka.Actor.VirtualPathContainer
ファイルを表示 Open project: rogeralsing/akka.net

Public Methods

Method Description
GetChild ( IEnumerable name ) : IActorRef

Find the longest matching path which we know about and return that IActorRef (or ask that IActorRef to continue searching if elements are left).

RemoteSystemDaemon ( ActorSystemImpl system, ActorPath path, IInternalActorRef parent, IActorRef terminator, ILoggingAdapter log ) : System

Initializes a new instance of the RemoteSystemDaemon class.

Protected Methods

Method Description
OnReceive ( object message, IActorRef sender ) : void

Called when [receive].

TellInternal ( object message, IActorRef sender ) : void

Tells the internal.

Private Methods

Method Description
AddChildParentNeedsWatch ( IActorRef parent, IActorRef child ) : bool
GetChild ( string name ) : IInternalActorRef
GetdUid ( string name ) : int
HandleDaemonMsgCreate ( DaemonMsgCreate message ) : void

Handles the daemon MSG create.

RemoveChildParentNeedsUnwatch ( IActorRef parent, IActorRef child ) : bool
TerminationHookDoneWhenNoChildren ( ) : void

Method Details

GetChild() public method

Find the longest matching path which we know about and return that IActorRef (or ask that IActorRef to continue searching if elements are left).
public GetChild ( IEnumerable name ) : IActorRef
name IEnumerable The name.
return IActorRef

OnReceive() protected method

Called when [receive].
protected OnReceive ( object message, IActorRef sender ) : void
message object The message that was received.
sender IActorRef The actor that sent the message.
return void

RemoteSystemDaemon() public method

Initializes a new instance of the RemoteSystemDaemon class.
public RemoteSystemDaemon ( ActorSystemImpl system, ActorPath path, IInternalActorRef parent, IActorRef terminator, ILoggingAdapter log ) : System
system ActorSystemImpl The system.
path ActorPath The path.
parent IInternalActorRef The parent.
terminator IActorRef
log ILoggingAdapter
return System

TellInternal() protected method

Tells the internal.
protected TellInternal ( object message, IActorRef sender ) : void
message object The message.
sender IActorRef The sender.
return void