ActorParentMixin<P extends SupervisorActorProperties> mixin
- Superclass constraints
- ActorContext<
P>
- ActorContext<
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- itself → LocalActorRef
-
The ref that points to the mailbox of the actor to which this context belongs.
no setterinherited
- path → ActorPath
-
Path to current actor in actor system.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduler → Scheduler
-
Instanse of Scheduler of this actor context.
finalinherited
- store ↔ ActorDataStore
-
latefinalinherited
Methods
-
deleteChild(
String path) → Future< void> -
Deletes child with
path
. -
deleteChildren(
) → Future< void> - Kills all actor children and deletes them from actor tree.
-
getLocalActorRef(
String path) → Future< LocalActorRef?> -
Checks if the register exist a reference to an actor with path -
path
.inherited -
isExistLocalActorRef(
String path) → Future< bool> -
Checks if the register exist a reference to an actor with path -
path
.inherited -
kill(
) → void -
Kills current actor and him children.
inherited
-
killChild(
String path) → Future< void> -
Kills child with
path
. -
killChildren(
) → Future< void> - Kills all actor children.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseChild(
String path) → Future< void> -
Pauses child with
path
. -
pauseChildren(
) → Future< void> - Pauses all actor children.
-
restartChild(
String path) → Future< void> -
Restarts child with
path
. -
restartChildren(
) → Future< void> - Restart all actor children.
-
resumeChild(
String path) → Future< void> -
Resumes child with
path
. -
resumeChildren(
) → Future< void> - Resume all actors children.
-
send(
String path, dynamic data, {Duration? delay}) → void -
Sends message to actor which in located on
path
.inherited -
sendAndSubscribe(
String path, dynamic data, {Duration? delay}) → MessageSubscription -
Sends message to actor which in located on
path
and get subscription for this message.inherited -
sendToTopic(
String topicName, dynamic data, {Duration? delay}) → void -
Sends message with
data
to actor system topic with nametopicName
.inherited -
sendToTopicAndSubscribe(
String topicName, dynamic data, {Duration? delay}) → MessageSubscription -
Sends message with
data
to actor system topic with nametopicName
and get subscription for this message.inherited -
startChild(
String path) → Future< void> -
Starts child with
path
. -
startChildren(
) → Future< void> - Starts all actor childern.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited