Class Udp.SuspendReading$

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

    public static class Udp.SuspendReading$
    extends java.lang.Object
    implements Udp.Command, scala.Product, java.io.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Udp.SuspendReading$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      SuspendReading$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canEqual​(java.lang.Object x$1)  
      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 scala.Equals

        equals
      • Methods inherited from interface scala.Product

        productElementName, productElementNames
    • Field Detail

      • MODULE$

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

      • SuspendReading$

        public SuspendReading$()
    • Method Detail

      • productPrefix

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

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

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

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

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object