Interface ScalaActorRef

  • All Known Implementing Classes:

    public interface ScalaActorRef
    tell method is now provided by ActorRef trait. Since 2.6.13.
    This trait represents the Scala Actor API There are implicit conversions in package.scala from ActorRef -> ScalaActorRef and back
    • Method Detail

      • $bang

        void $bang​(java.lang.Object message,
                   ActorRef sender)
        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

      • $bang$default$2

        ActorRef $bang$default$2​(java.lang.Object message)