Package org.apache.pekko.io
Class Tcp.ConfirmedClose$
- java.lang.Object
-
- org.apache.pekko.io.Tcp.ConfirmedClose$
-
- All Implemented Interfaces:
java.io.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 java.lang.Object implements Tcp.CloseCommand, scala.Product, java.io.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 aConfirmedClosed
message.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Tcp.ConfirmedClose$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ConfirmedClose$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
Tcp.ConfirmedClosed$
event()
The corresponding event which is sent as an acknowledgment once the close operation is finished.int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.io.Tcp.Command
failureMessage
-
-
-
-
Field Detail
-
MODULE$
public static final Tcp.ConfirmedClose$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
event
public Tcp.ConfirmedClosed$ event()
The corresponding event which is sent as an acknowledgment once the close operation is finished.- Specified by:
event
in interfaceTcp.CloseCommand
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-