Method | Description | |
---|---|---|
ActorCell ( ActorSystemImpl system, IInternalActorRef self, Props props, |
||
ActorSelection ( ActorPath path ) : |
||
ActorSelection ( string path ) : |
||
Become ( Receive receive ) : void | ||
BecomeStacked ( Receive receive ) : void | ||
GetChildren ( ) : IEnumerable |
||
GetCurrentSelfOrNoSender ( ) : IActorRef | ||
GetCurrentSenderOrNoSender ( ) : IActorRef | ||
Init ( bool sendSupervise, Func |
||
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 |
Method | Description | |
---|---|---|
AddWatcher ( IActorRef watchee, IActorRef watcher ) : void | ||
AddressTerminated ( Akka.Actor.Address address ) : void | ||
AutoReceiveMessage ( |
||
ClearActor ( |
||
ClearActorCell ( ) : void | ||
CreateNewActorInstance ( ) : |
||
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.
|
Method | Description | |
---|---|---|
ClearFailed ( ) : void | ||
Create ( |
||
FaultCreate ( ) : void |
Create the actor in response to a failure
|
|
FaultRecreate ( |
Re-create the actor in response to a failure.
|
|
FaultResume ( |
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 ( |
||
FinishTerminate ( ) : void | ||
GetChildByName ( string name ) : IInternalActorRef | ||
HandleActorTaskSchedulerMessage ( |
||
HandleChildTerminated ( IActorRef child ) : void | ||
HandleCreate ( |
||
HandleFailed ( |
||
HandleIdentity ( |
Handles the identity.
|
|
HandleInvokeFailure ( |
||
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 |
public ActorCell ( ActorSystemImpl system, IInternalActorRef self, Props props, |
||
system | ActorSystemImpl | |
self | IInternalActorRef | |
props | Props | |
dispatcher | ||
parent | IInternalActorRef | |
return | System |
public ActorSelection ( ActorPath path ) : |
||
path | ActorPath | |
return |
public ActorSelection ( string path ) : |
||
path | string | |
return |
protected AddWatcher ( IActorRef watchee, IActorRef watcher ) : void | ||
watchee | IActorRef | |
watcher | IActorRef | |
return | void |
protected AddressTerminated ( Akka.Actor.Address address ) : void | ||
address | Akka.Actor.Address | |
return | void |
protected AutoReceiveMessage ( |
||
envelope | ||
return | void |
public BecomeStacked ( Receive receive ) : void | ||
receive | Receive | |
return | void |
protected ClearActor ( |
||
actor | ||
return | void |
protected CreateNewActorInstance ( ) : |
||
return |
public static GetCurrentSelfOrNoSender ( ) : IActorRef | ||
return | IActorRef |
public static GetCurrentSenderOrNoSender ( ) : IActorRef | ||
return | IActorRef |
public Init ( bool sendSupervise, Func |
||
sendSupervise | bool | |
createMailbox | Func |
|
return | void |
public Invoke ( Envelope envelope ) : void | ||
envelope | Envelope | The envelope. |
return | void |
public Post ( IActorRef sender, object message ) : void | ||
sender | IActorRef | |
message | object | |
return | void |
public ReceiveMessageForTest ( Envelope envelope ) : void | ||
envelope | Envelope | |
return | void |
protected ReceivedTerminated ( Terminated t ) : void | ||
t | Terminated | |
return | void |
protected RemWatcher ( IActorRef watchee, IActorRef watcher ) : void | ||
watchee | IActorRef | |
watcher | IActorRef | |
return | void |
public Restart ( Exception cause ) : void | ||
cause | Exception | The cause. |
return | void |
public Resume ( Exception causedByFailure ) : void | ||
causedByFailure | Exception | The caused by failure. |
return | void |
public SendSystemMessage ( ISystemMessage systemMessage ) : void | ||
systemMessage | ISystemMessage | |
return | void |
protected SetActorFields ( ActorBase actor ) : void | ||
actor | ActorBase | |
return | void |
public static SplitNameAndUid ( string name ) : NameAndUid | ||
name | string | |
return | NameAndUid |
public SwapMailbox ( DeadLetterMailbox mailbox ) : void | ||
mailbox | DeadLetterMailbox | |
return | void |
public SystemInvoke ( Envelope envelope ) : void | ||
envelope | Envelope | The envelope. |
return | void |
public TerminatedQueuedFor ( IActorRef subject ) : void | ||
subject | IActorRef | |
return | void |
public Unwatch ( IActorRef subject ) : IActorRef | ||
subject | IActorRef | |
return | IActorRef |
protected UnwatchWatchedActors ( ActorBase actor ) : void | ||
actor | ActorBase | |
return | void |
public UseThreadContext ( Action action ) : void | ||
action | Action | |
return | void |
public Watch ( IActorRef subject ) : IActorRef | ||
subject | IActorRef | |
return | IActorRef |
protected WatchedActorTerminated ( IActorRef actor, bool existenceConfirmed, bool addressTerminated ) : void | ||
actor | IActorRef | |
existenceConfirmed | bool | |
addressTerminated | bool | |
return | void |