C# 클래스 Akka.Actor.ActorCell

파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearFailed void
Create void
FaultCreate void
FaultRecreate void
FaultResume void
FaultSuspend void
FinishCreate void
FinishRecreate void
FinishTerminate void
GetChildByName IInternalActorRef
HandleActorTaskSchedulerMessage void
HandleChildTerminated void
HandleCreate void
HandleFailed void
HandleIdentity void
HandleInvokeFailure void
HandleNonFatalOrInterruptedException void
HandlePoisonPill void
HandleSupervise void
HasNonLocalAddress bool
IActorContext IActorRef
IActorContext IEnumerable
IActorContext void
IActorContext void
IUntypedActorContext void
IUntypedActorContext void
IsNonLocal bool
Kill void
MaintainAddressTerminatedSubscription void
MatchSender IActorRef
NewActor ActorBase
NewUid long
Publish void
ReceiveMessage void
ReceiveSelection void
ReleaseActor void
ResumeNonRecursive void
SendTerminated void
SetFailed void
StopChildren void
SubscribeAddressTerminated void
Supervise void
SuspendNonRecursive void
Terminate void
UnsubscribeAddressTerminated void
WatchingContains bool

공개 메소드들

메소드 설명
ActorCell ( ActorSystemImpl system, IInternalActorRef self, Props props, MessageDispatcher dispatcher, IInternalActorRef parent ) : System
ActorSelection ( ActorPath path ) : ActorSelection
ActorSelection ( string path ) : ActorSelection
Become ( Receive receive ) : void
BecomeStacked ( Receive receive ) : void
GetChildren ( ) : IEnumerable
GetCurrentSelfOrNoSender ( ) : IActorRef
GetCurrentSenderOrNoSender ( ) : IActorRef
Init ( bool sendSupervise, Func createMailbox ) : void
Invoke ( Envelope envelope ) : void

Invokes the specified envelope.

Post ( IActorRef sender, object message ) : void
ReceiveMessageForTest ( Envelope envelope ) : void

This is only intended to be called from TestKit's TestActorRef

Restart ( Exception cause ) : void

Restarts the specified cause.

Resume ( Exception causedByFailure ) : void

Resumes the specified caused by failure.

SendSystemMessage ( ISystemMessage systemMessage ) : void
SplitNameAndUid ( string name ) : NameAndUid
Start ( ) : void

Starts this instance.

Stop ( ) : void

Async stop this actor

Suspend ( ) : void

Suspends this instance.

SwapMailbox ( DeadLetterMailbox mailbox ) : void
SystemInvoke ( Envelope envelope ) : void

Used to invoke system messages.

TerminatedQueuedFor ( IActorRef subject ) : void
UnbecomeStacked ( ) : void
Unwatch ( IActorRef subject ) : IActorRef
UseThreadContext ( Action action ) : void
Watch ( IActorRef subject ) : IActorRef

보호된 메소드들

메소드 설명
AddWatcher ( IActorRef watchee, IActorRef watcher ) : void
AddressTerminated ( Akka.Actor.Address address ) : void
AutoReceiveMessage ( Envelope envelope ) : void
ClearActor ( ActorBase actor ) : void
ClearActorCell ( ) : void
CreateNewActorInstance ( ) : ActorBase
PreStart ( ) : void

Allow extra pre-start initialization in derived classes

PrepareForNewActor ( ) : void
ReceivedTerminated ( Terminated t ) : void
RemWatcher ( IActorRef watchee, IActorRef watcher ) : void
SetActorFields ( ActorBase actor ) : void
TellWatchersWeDied ( ) : void
UnwatchWatchedActors ( ActorBase actor ) : void
WatchedActorTerminated ( IActorRef actor, bool existenceConfirmed, bool addressTerminated ) : void

When this actor is watching the subject of Terminated message it will be propagated to user's receive.

비공개 메소드들

메소드 설명
ClearFailed ( ) : void
Create ( Exception failure ) : void
FaultCreate ( ) : void

Create the actor in response to a failure

FaultRecreate ( Exception cause ) : void

Re-create the actor in response to a failure.

FaultResume ( Exception causedByFailure ) : void

Resumes the actor in response to a failure

FaultSuspend ( ) : void

Suspends the actor in response to a failure of a parent (i.e. the "recursive suspend" feature).

FinishCreate ( ) : void
FinishRecreate ( Exception cause, ActorBase failedActor ) : void
FinishTerminate ( ) : void
GetChildByName ( string name ) : IInternalActorRef
HandleActorTaskSchedulerMessage ( ActorTaskSchedulerMessage m ) : void
HandleChildTerminated ( IActorRef child ) : void
HandleCreate ( Exception failure ) : void
HandleFailed ( Failed f ) : void
HandleIdentity ( Identify m ) : void

Handles the identity.

HandleInvokeFailure ( Exception cause, IEnumerable childrenNotToSuspend = null ) : void
HandleNonFatalOrInterruptedException ( System.Action action ) : void

Handles the non fatal or interrupted exception.

HandlePoisonPill ( ) : void

Handles the poison pill.

HandleSupervise ( IActorRef child, bool async ) : void
HasNonLocalAddress ( ) : bool
IActorContext ( string name ) : IActorRef
IActorContext ( ) : IEnumerable
IActorContext ( ) : void
IActorContext ( Receive receive, bool discardOld = true ) : void
IUntypedActorContext ( UntypedReceive receive ) : void
IUntypedActorContext ( UntypedReceive receive, bool discardOld ) : void
IsNonLocal ( IActorRef @ref ) : bool
Kill ( ) : void

Kills this instance.

MaintainAddressTerminatedSubscription ( Action block, IActorRef change = null ) : void

Starts subscription to AddressTerminated if not already subscribing and the block adds a non-local ref to watching or watchedBy. Ends subscription to AddressTerminated if subscribing and the block removes the last non-local ref from watching and watchedBy.

MatchSender ( Envelope envelope ) : IActorRef

If the envelope.Sender property is null, then we'll substitute Deadletters as the Sender of this message.

NewActor ( ) : ActorBase
NewUid ( ) : long
Publish ( LogEvent @event ) : void

Publishes the specified event.

ReceiveMessage ( object message ) : void
ReceiveSelection ( ActorSelectionMessage m ) : void

Receives the selection.

ReleaseActor ( ActorBase a ) : void
ResumeNonRecursive ( ) : void
SendTerminated ( bool ifLocal, IInternalActorRef watcher ) : void
SetFailed ( IActorRef perpetrator ) : void
StopChildren ( ) : void
SubscribeAddressTerminated ( ) : void
Supervise ( IActorRef child, bool async ) : void
SuspendNonRecursive ( ) : void
Terminate ( ) : void

Terminates this instance.

UnsubscribeAddressTerminated ( ) : void
WatchingContains ( IActorRef subject ) : bool

메소드 상세

ActorCell() 공개 메소드

public ActorCell ( ActorSystemImpl system, IInternalActorRef self, Props props, MessageDispatcher dispatcher, IInternalActorRef parent ) : System
system ActorSystemImpl
self IInternalActorRef
props Props
dispatcher Akka.Dispatch.MessageDispatcher
parent IInternalActorRef
리턴 System

ActorSelection() 공개 메소드

public ActorSelection ( ActorPath path ) : ActorSelection
path ActorPath
리턴 ActorSelection

ActorSelection() 공개 메소드

public ActorSelection ( string path ) : ActorSelection
path string
리턴 ActorSelection

AddWatcher() 보호된 메소드

protected AddWatcher ( IActorRef watchee, IActorRef watcher ) : void
watchee IActorRef
watcher IActorRef
리턴 void

AddressTerminated() 보호된 메소드

protected AddressTerminated ( Akka.Actor.Address address ) : void
address Akka.Actor.Address
리턴 void

AutoReceiveMessage() 보호된 메소드

protected AutoReceiveMessage ( Envelope envelope ) : void
envelope Envelope
리턴 void

Become() 공개 메소드

public Become ( Receive receive ) : void
receive Receive
리턴 void

BecomeStacked() 공개 메소드

public BecomeStacked ( Receive receive ) : void
receive Receive
리턴 void

ClearActor() 보호된 메소드

protected ClearActor ( ActorBase actor ) : void
actor ActorBase
리턴 void

ClearActorCell() 보호된 메소드

protected ClearActorCell ( ) : void
리턴 void

CreateNewActorInstance() 보호된 메소드

protected CreateNewActorInstance ( ) : ActorBase
리턴 ActorBase

GetChildren() 공개 메소드

public GetChildren ( ) : IEnumerable
리턴 IEnumerable

GetCurrentSelfOrNoSender() 공개 정적인 메소드

public static GetCurrentSelfOrNoSender ( ) : IActorRef
리턴 IActorRef

GetCurrentSenderOrNoSender() 공개 정적인 메소드

public static GetCurrentSenderOrNoSender ( ) : IActorRef
리턴 IActorRef

Init() 공개 메소드

public Init ( bool sendSupervise, Func createMailbox ) : void
sendSupervise bool
createMailbox Func
리턴 void

Invoke() 공개 메소드

Invokes the specified envelope.
public Invoke ( Envelope envelope ) : void
envelope Envelope The envelope.
리턴 void

Post() 공개 메소드

public Post ( IActorRef sender, object message ) : void
sender IActorRef
message object
리턴 void

PreStart() 보호된 메소드

Allow extra pre-start initialization in derived classes
protected PreStart ( ) : void
리턴 void

PrepareForNewActor() 보호된 메소드

protected PrepareForNewActor ( ) : void
리턴 void

ReceiveMessageForTest() 공개 메소드

This is only intended to be called from TestKit's TestActorRef
public ReceiveMessageForTest ( Envelope envelope ) : void
envelope Envelope
리턴 void

ReceivedTerminated() 보호된 메소드

protected ReceivedTerminated ( Terminated t ) : void
t Terminated
리턴 void

RemWatcher() 보호된 메소드

protected RemWatcher ( IActorRef watchee, IActorRef watcher ) : void
watchee IActorRef
watcher IActorRef
리턴 void

Restart() 공개 메소드

Restarts the specified cause.
public Restart ( Exception cause ) : void
cause Exception The cause.
리턴 void

Resume() 공개 메소드

Resumes the specified caused by failure.
public Resume ( Exception causedByFailure ) : void
causedByFailure Exception The caused by failure.
리턴 void

SendSystemMessage() 공개 메소드

public SendSystemMessage ( ISystemMessage systemMessage ) : void
systemMessage ISystemMessage
리턴 void

SetActorFields() 보호된 메소드

protected SetActorFields ( ActorBase actor ) : void
actor ActorBase
리턴 void

SplitNameAndUid() 공개 정적인 메소드

public static SplitNameAndUid ( string name ) : NameAndUid
name string
리턴 NameAndUid

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Async stop this actor
public Stop ( ) : void
리턴 void

Suspend() 공개 메소드

Suspends this instance.
public Suspend ( ) : void
리턴 void

SwapMailbox() 공개 메소드

public SwapMailbox ( DeadLetterMailbox mailbox ) : void
mailbox DeadLetterMailbox
리턴 void

SystemInvoke() 공개 메소드

Used to invoke system messages.
public SystemInvoke ( Envelope envelope ) : void
envelope Envelope The envelope.
리턴 void

TellWatchersWeDied() 보호된 메소드

protected TellWatchersWeDied ( ) : void
리턴 void

TerminatedQueuedFor() 공개 메소드

public TerminatedQueuedFor ( IActorRef subject ) : void
subject IActorRef
리턴 void

UnbecomeStacked() 공개 메소드

public UnbecomeStacked ( ) : void
리턴 void

Unwatch() 공개 메소드

public Unwatch ( IActorRef subject ) : IActorRef
subject IActorRef
리턴 IActorRef

UnwatchWatchedActors() 보호된 메소드

protected UnwatchWatchedActors ( ActorBase actor ) : void
actor ActorBase
리턴 void

UseThreadContext() 공개 메소드

public UseThreadContext ( Action action ) : void
action Action
리턴 void

Watch() 공개 메소드

public Watch ( IActorRef subject ) : IActorRef
subject IActorRef
리턴 IActorRef

WatchedActorTerminated() 보호된 메소드

When this actor is watching the subject of Terminated message it will be propagated to user's receive.
protected WatchedActorTerminated ( IActorRef actor, bool existenceConfirmed, bool addressTerminated ) : void
actor IActorRef
existenceConfirmed bool
addressTerminated bool
리턴 void