Class Udp.SuspendReading$

java.lang.Object
org.apache.pekko.io.Udp.SuspendReading$
All Implemented Interfaces:
Serializable, org.apache.pekko.io.SelectionHandler.HasFailureMessage, Udp.Command, Udp.Message, scala.Equals, scala.Product
Enclosing class:
Udp

public static class Udp.SuspendReading$ extends Object implements Udp.Command, scala.Product, Serializable
Send this message to a listener actor (which sent a Udp.Bound message) to have it stop reading datagrams from the network. If the O/S kernel’s receive buffer runs full then subsequent datagrams will be silently discarded. Re-enable reading from the socket using the ResumeReading command.
See Also:
  • Field Details

    • MODULE$

      public static final Udp.SuspendReading$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • SuspendReading$

      public SuspendReading$()
  • Method Details

    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object