Package org.apache.pekko.io
Class Tcp.ConfirmedClose$
java.lang.Object
org.apache.pekko.io.Tcp.ConfirmedClose$
- 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.ConfirmedClose$
extends Object
implements Tcp.CloseCommand, scala.Product, Serializable
A confirmed close operation will flush pending writes and half-close the
connection, waiting for the peer to close the other half. The sender of this
command and the registered handler for incoming data will both be notified
once the socket is closed using a
ConfirmedClosed message.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tcp.ConfirmedClose$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
-
ConfirmedClose$
public ConfirmedClose$()
-
-
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
-