Sends a one-way asynchronous message.
Sends a one-way asynchronous message. E.g. fire-and-forget semantics.
If invoked from within an actor then the actor reference is implicitly passed on as the implicit 'sender' argument.
This actor 'sender' reference is then available in the receiving actor in the 'sender' member variable, if invoked from within an Actor. If not then no sender is available.
actor ! message
Proxy for FSM.
Proxy for FSM.cancelTimer.
Comparison only takes address into account.
Comparison only takes address into account.
Forwards the message and passes the original sender actor as the sender.
Forwards the message and passes the original sender actor as the sender.
Works with '!' and '?'/'ask'.
Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location.
Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location. This method shall return the end result, i.e. not only the next step in the look-up; this will typically involve recursive invocation. A path element of ".." signifies the parent, a trailing "" element must be disregarded. If the requested path does not exist, return Nobody.
Obtain parent of this ref; used by getChild for ".
Obtain parent of this ref; used by getChild for ".." paths.
Method for looking up a single child beneath this actor.
Method for looking up a single child beneath this actor. Override in order to inject “synthetic” actor paths like “/temp”.
Is the actor terminated? If this method returns true, it will never return false again, but if it returns false, you cannot be sure if it's alive still (race condition)
Is the actor terminated? If this method returns true, it will never return false again, but if it returns false, you cannot be sure if it's alive still (race condition)
Returns the path for this actor (from this actor up to the root actor).
Returns the path for this actor (from this actor up to the root actor).
Get a reference to the actor ref provider which created this ref.
Get a reference to the actor ref provider which created this ref.
Directly inject messages into actor receive behavior.
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.
Resumes a suspended actor.
Resumes a suspended actor.
Change FSM state; any value left out defaults to the current FSM state (timeout defaults to None).
Change FSM state; any value left out defaults to the current FSM state (timeout defaults to None). This method is directly equivalent to a corresponding transition initiated from within the FSM, including timeout and stop handling.
Proxy for FSM.
Proxy for FSM.setTimer.
Get current state data of this FSM.
Get current state name of this FSM.
Shuts down the actor and its message queue
Shuts down the actor and its message queue
Suspends the actor so that it will not process messages until resumed.
Suspends the actor so that it will not process messages until resumed. The suspend request is processed asynchronously to the caller of this method as well as to normal message sends: the only ordering guarantee is that message sends done from the same thread after calling this method will not be processed until resumed.
Java API.
Java API.
Sends the specified message to the sender, i.e. fire-and-forget semantics, including the sender reference if possible (not supported on all senders).
actor.tell(message, context);
Sends the specified message to the sender, i.
Sends the specified message to the sender, i.e. fire-and-forget semantics.
actor.tell(message);
Proxy for FSM.
Proxy for FSM.timerActive_?.
Retrieve reference to the underlying actor, where the static type matches the factory used inside the constructor.
Retrieve reference to the underlying actor, where the static type matches the factory used inside the constructor. Beware that this reference is discarded by the ActorRef upon restarting the actor (should this reference be linked to a supervisor). The old Actor may of course still be used in post-mortem assertions.
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated.
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated.
the same ActorRef that is provided to it, to allow for cleaner invocations
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated.
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated.
the same ActorRef that is provided to it, to allow for cleaner invocations
This is a specialised form of the TestActorRef with support for querying and setting the state of a FSM. Use a LoggingFSM with this class if you also need to inspect event traces.
1.2