Package org.apache.pekko.io
Class Tcp.Close$
java.lang.Object
org.apache.pekko.io.Tcp.Close$
- All Implemented Interfaces:
Serializable,DeadLetterSuppression,NoSerializationVerificationNeeded,org.apache.pekko.io.SelectionHandler.HasFailureMessage,Tcp.CloseCommand,Tcp.Command,Tcp.Message,scala.Equals,scala.Product
- Enclosing class:
- Tcp
public static class Tcp.Close$
extends Object
implements Tcp.CloseCommand, scala.Product, Serializable
A normal close operation will first flush pending writes and then close the
socket. The sender of this command and the registered handler for incoming
data will both be notified once the socket is closed using a
Closed
message.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tcp.Close$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevent()The corresponding event which is sent as an acknowledgment once the close operation is finished.inthashCode()intproductElement(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface scala.Product
productElementName, productElementNamesMethods inherited from interface org.apache.pekko.io.Tcp.Command
failureMessage
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Close$
public Close$()
-
-
Method Details
-
event
The corresponding event which is sent as an acknowledgment once the close operation is finished.- Specified by:
eventin interfaceTcp.CloseCommand
-
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
-
hashCode
public int hashCode() -
toString
-