Class UnhandledMessage

java.lang.Object
org.apache.pekko.actor.UnhandledMessage
All Implemented Interfaces:
Serializable, AllDeadLetters, NoSerializationVerificationNeeded, WrappedMessage, scala.Equals, scala.Product

public final class UnhandledMessage extends Object implements NoSerializationVerificationNeeded, WrappedMessage, AllDeadLetters, scala.Product, Serializable
This message is published to the EventStream whenever an Actor receives a message it doesn't understand
See Also:
  • Constructor Details

  • Method Details

    • apply

      public static UnhandledMessage apply(Object message, ActorRef sender, ActorRef recipient)
    • unapply

      public static scala.Option<scala.Tuple3<Object,ActorRef,ActorRef>> unapply(UnhandledMessage x$0)
    • message

      public Object message()
      Specified by:
      message in interface AllDeadLetters
      Specified by:
      message in interface WrappedMessage
    • sender

      public ActorRef sender()
      Specified by:
      sender in interface AllDeadLetters
    • recipient

      public ActorRef recipient()
      Specified by:
      recipient in interface AllDeadLetters
    • copy

      public UnhandledMessage copy(Object message, ActorRef sender, ActorRef recipient)
    • copy$default$1

      public Object copy$default$1()
    • copy$default$2

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

      public ActorRef copy$default$3()
    • getMessage

      public Object getMessage()
    • getRecipient

      public ActorRef getRecipient()
    • getSender

      public ActorRef getSender()
    • productPrefix

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

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

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

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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