Class Tcp.CommandFailed

java.lang.Object
org.apache.pekko.io.Tcp.CommandFailed
All Implemented Interfaces:
Serializable, NoSerializationVerificationNeeded, Tcp.Event, Tcp.Message, scala.Equals, scala.Product
Enclosing class:
Tcp

public static final class Tcp.CommandFailed extends Object implements Tcp.Event, scala.Product, Serializable
Whenever a command cannot be completed, the queried actor will reply with this message, wrapping the original command which failed.
See Also:
  • Constructor Details

    • CommandFailed

      public CommandFailed(Tcp.Command cmd)
  • Method Details

    • cmd

      public Tcp.Command cmd()
    • cause

      public scala.Option<Throwable> cause()
      Optionally contains the cause why the command failed.
    • toString

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

      public Tcp.CommandFailed copy(Tcp.Command cmd)
    • copy$default$1

      public Tcp.Command copy$default$1()
    • 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
    • equals

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