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
Comparison takes path and the unique id of the actor cell into account.
Comparison takes path and the unique id of the actor cell 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'.
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).
Java API: Sends the specified message to the sender, i.
Java API: Sends the specified message to the sender, i.e. fire-and-forget
semantics, including the sender reference if possible (pass null
if
there is nobody to reply to).
actor.tell(message, getSelf());
Equals takes path and the unique id of the actor cell into account.
Equals takes path and the unique id of the actor cell into account.
(scalaActorRef: ActorRef).equals(that)
(scalaActorRef: ActorRef).hashCode()
(scalaActorRef: StringAdd).self
(scalaActorRef: StringFormat).self
(scalaActorRef: ActorRef).toString()
Is the actor shut down? The contract is that if this method returns true, then it will never be false again.
Is the actor shut down? The contract is that if this method returns true, then it will never be false again. But you cannot rely on that it is alive if it returns false, since this by nature is a racy method.
(Since version 2.2) Use context.watch(actor) and receive Terminated(actor)
(scalaActorRef: ArrowAssoc[ScalaActorRef]).x
(Since version 2.10.0) Use leftOfArrow
instead
(scalaActorRef: Ensuring[ScalaActorRef]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
This trait represents the Scala Actor API There are implicit conversions in ../actor/Implicits.scala from ActorRef -> ScalaActorRef and back