ControlActor
The ControlActor implements the methods that may change the behaviour of the actor.
Attributes
- Graph
- Supertypes
- Known subtypes
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- StashDefs (hidden)
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object Stash.type
Value members
Concrete methods
Stopping of an actor is organised in levels of sevirity. The lowest level (Direct) terminates directly, the highest level never terminates. The latter is the default. Levels can always be decreased, increase is only possible if the stop action was not yet started. Direct and Finish start immediately, and cannot be retracted.
Stopping of an actor is organised in levels of sevirity. The lowest level (Direct) terminates directly, the highest level never terminates. The latter is the default. Levels can always be decreased, increase is only possible if the stop action was not yet started. Direct and Finish start immediately, and cannot be retracted.
Attributes
Inherited methods
See the current activity state of this actor
The maximum number of letters this actor accepts. Override to change its value.
The maximum number of letters this actor accepts. Override to change its value.
Attributes
- Inherited from:
- UserActor
The name of this actor.
The name of this actor.
Attributes
- Inherited from:
- ActorDefs (hidden)
The fullname of this actor, contains the full path to the first ancestor.
The fullname of this actor, contains the full path to the first ancestor.
Attributes
- Inherited from:
- ActorDefs (hidden)
Called before actor deactivation and guaranteed after the last message is processed. If there were any unprocessed letters in this actor at teardown, complete is false. These could be in the normal mailbox or on the stash, if present. Cause returns the last stop mode, so the cause of stopping this actor is known. In case of a actorContext shutdown this is NOT called, for this disruptly terminates the processing loops. It is however called when stop(...) is used, or when the actor is shutdown by a parent. The actor may still be around after this method is called, but will never accept new messages. The parent is still defined, when stopped() is executed (but may already stopped processing messages) but all the childeren will already be removed from the list, and their stopped() methods have already been called.
Called before actor deactivation and guaranteed after the last message is processed. If there were any unprocessed letters in this actor at teardown, complete is false. These could be in the normal mailbox or on the stash, if present. Cause returns the last stop mode, so the cause of stopping this actor is known. In case of a actorContext shutdown this is NOT called, for this disruptly terminates the processing loops. It is however called when stop(...) is used, or when the actor is shutdown by a parent. The actor may still be around after this method is called, but will never accept new messages. The parent is still defined, when stopped() is executed (but may already stopped processing messages) but all the childeren will already be removed from the list, and their stopped() methods have already been called.
Attributes
- Inherited from:
- UserActor