Package org.apache.pekko.io
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanscala.Option<Throwable>cause()Optionally contains the cause why the command failed.cmd()copy(Tcp.Command cmd) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
CommandFailed
-
-
Method Details
-
cmd
-
cause
Optionally contains the cause why the command failed. -
toString
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
equals
-