Package akka.io

Class Udp.SimpleSender

  • All Implemented Interfaces:
    SelectionHandler.HasFailureMessage, Udp.Command, Udp.Message, java.io.Serializable, scala.Equals, scala.Product, scala.Serializable
    Direct Known Subclasses:
    Udp.SimpleSender$
    Enclosing class:
    Udp

    public static class Udp.SimpleSender
    extends java.lang.Object
    implements Udp.Command, scala.Product, scala.Serializable
    Retrieve a reference to a “simple sender” actor of the UDP extension. The newly created “simple sender” will reply with the Udp.SimpleSenderReady notification.

    The “simple sender” is a convenient service for being able to send datagrams when the originating address is meaningless, i.e. when no reply is expected.

    The “simple sender” will not stop itself, you will have to send it a PoisonPill when you want to close the socket.

    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleSender

        public SimpleSender​(scala.collection.immutable.Traversable<Inet.SocketOption> options)
    • Method Detail

      • options

        public scala.collection.immutable.Traversable<Inet.SocketOption> options()
      • copy$default$1

        public scala.collection.immutable.Traversable<Inet.SocketOption> copy$default$1()
      • 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
      • equals

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