Class Udp.NoAck

java.lang.Object
org.apache.pekko.io.Udp.NoAck
All Implemented Interfaces:
Serializable, Udp.Event, Udp.Message, scala.Equals, scala.Product
Direct Known Subclasses:
Udp.NoAck$
Enclosing class:
Udp

public static class Udp.NoAck extends Object implements Udp.Event, scala.Product, Serializable
Each Udp.Send can optionally request a positive acknowledgment to be sent to the commanding actor. If such notification is not desired the Udp.Send.ack() must be set to an instance of this class. The token contained within can be used to recognize which write failed when receiving a Udp.CommandFailed message.
See Also:
  • Constructor Details

    • NoAck

      public NoAck(Object token)
  • Method Details

    • token

      public Object token()
    • copy

      public Udp.NoAck copy(Object token)
    • copy$default$1

      public Object copy$default$1()
    • 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
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object