Package org.apache.pekko.io
Class Tcp.SuspendReading$
java.lang.Object
org.apache.pekko.io.Tcp.SuspendReading$
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,org.apache.pekko.io.SelectionHandler.HasFailureMessage,Tcp.Command,Tcp.Message,scala.Equals,scala.Product
- Enclosing class:
- Tcp
public static class Tcp.SuspendReading$
extends Object
implements Tcp.Command, scala.Product, Serializable
Sending this command to the connection actor will disable reading from the TCP
socket. TCP flow-control will then propagate backpressure to the sender side
as buffers fill up on either end. To re-enable reading send
ResumeReading.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tcp.SuspendReading$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()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
-
SuspendReading$
public SuspendReading$()
-
-
Method Details
-
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
-