Class Udp.Bind

  • 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 final class Udp.Bind
    extends java.lang.Object
    implements Udp.Command, scala.Product, java.io.Serializable
    Send this message to the UdpExt.manager() in order to bind to the given local port (or an automatically assigned one if the port number is zero). The listener actor for the newly bound port will reply with a Udp.Bound message, or the manager will reply with a Udp.CommandFailed message.
    See Also:
    Serialized Form
    • Constructor Detail

      • Bind

        public Bind​(ActorRef handler,
                    java.net.InetSocketAddress localAddress,
                    scala.collection.immutable.Iterable<Inet.SocketOption> options)
    • Method Detail

      • localAddress

        public java.net.InetSocketAddress localAddress()
      • copy$default$1

        public ActorRef copy$default$1()
      • copy$default$2

        public java.net.InetSocketAddress copy$default$2()
      • copy$default$3

        public scala.collection.immutable.Iterable<Inet.SocketOption> copy$default$3()
      • 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
      • productElementName

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

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

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

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