Class DeadLetter

  • All Implemented Interfaces:
    AllDeadLetters, WrappedMessage,, scala.Equals, scala.Product

    public final class DeadLetter
    extends java.lang.Object
    implements AllDeadLetters, scala.Product,
    When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter to the ActorSystem's EventStream.

    When this message was sent without a sender ActorRef, sender will be system.deadLetters.

    See Also:
    Serialized Form
    • Constructor Detail

      • DeadLetter

        public DeadLetter​(java.lang.Object message,
                          ActorRef sender,
                          ActorRef recipient)
    • Method Detail

      • copy$default$1

        public java.lang.Object copy$default$1()
      • copy$default$2

        public ActorRef copy$default$2()
      • copy$default$3

        public ActorRef copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object