Given a possibly special behavior (same or unhandled) and a
“current” behavior (which defines the meaning of encountering a same
behavior) this method computes the next behavior, suitable for passing a
message or signal.
Given a possibly special behavior (same or unhandled) and a
“current” behavior (which defines the meaning of encountering a same
behavior) this method computes the next behavior, suitable for passing a
message or signal.
A behavior that treats every incoming message as unhandled.
A behavior that ignores every incoming message and returns “same”.
Execute the behavior with the given message
Execute the behavior with the given signal
Returns true if the given behavior is not stopped.
Returns true if the given behavior is the special Unhandled
marker.
Returns true if the given behavior is the special unhandled
marker.
Return this behavior from message processing in order to advise the system to reuse the previous behavior.
Return this behavior from message processing in order to advise the system to reuse the previous behavior. This is provided in order to avoid the allocation overhead of recreating the current behavior where that is not necessary.
Starts deferred behavior and nested deferred behaviors until a non deferred behavior is reached and that is then returned.
Starts deferred behavior and nested deferred behaviors until a non deferred behavior is reached and that is then returned.
Return this behavior from message processing to signal that this actor shall terminate voluntarily.
Return this behavior from message processing to signal that this actor shall terminate voluntarily. If this actor has created child actors then these will be stopped as part of the shutdown procedure.
The PostStop signal that results from stopping this actor will be passed to the
given postStop
behavior. All other messages and signals will effectively be
ignored.
Return this behavior from message processing to signal that this actor shall terminate voluntarily.
Return this behavior from message processing to signal that this actor shall terminate voluntarily. If this actor has created child actors then these will be stopped as part of the shutdown procedure.
The PostStop signal that results from stopping this actor will be passed to the current behavior. All other messages and signals will effectively be ignored.
Return this behavior from message processing in order to advise the system to reuse the previous behavior, including the hint that the message has not been handled.
Return this behavior from message processing in order to advise the system to reuse the previous behavior, including the hint that the message has not been handled. This hint may be used by composite behaviors that delegate (partial) handling to other behaviors.
Validate the given behavior as a suitable initial actor behavior; most
notably the behavior can neither be same
nor unhandled
.
Validate the given behavior as a suitable initial actor behavior; most
notably the behavior can neither be same
nor unhandled
. Starting
out with a Stopped
behavior is allowed, though.