org.vertx.scala.core

datagram

package datagram

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. datagram
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class DatagramPacket extends AnyVal

    A received Datagram packet (UDP) which contains the data and information about the sender of the data itself.

  2. final class DatagramSocket extends Self with DrainSupport with NetworkSupport with ReadSupport[DatagramPacket] with Closeable

    A Datagram socket which can be used to send org.vertx.scala.core.datagram.DatagramPacket's to remote Datagram servers and receive org.vertx.scala.core.datagram.DatagramPackets.

    A Datagram socket which can be used to send org.vertx.scala.core.datagram.DatagramPacket's to remote Datagram servers and receive org.vertx.scala.core.datagram.DatagramPackets.

    Usually you use a Datagram Client to send UDP over the wire. UDP is connection-less which means you are not connected to the remote peer in a persistent way. Because of this you have to supply the address and port of the remote peer when sending data.

    You can send data to ipv4 or ipv6 addresses, which also include multicast addresses.

  3. sealed trait InternetProtocolFamily extends AnyRef

    Internet Protocol (IP) families used by org.vertx.scala.core.datagram.DatagramSocket.

Value Members

  1. object DatagramPacket

    Factory for org.vertx.scala.core.datagram.DatagramPacket instances.

  2. object DatagramSocket

    Factory for org.vertx.scala.core.datagram.DatagramSocket instances by wrapping a Java instance.

  3. object IPv4 extends InternetProtocolFamily with Product with Serializable

  4. object IPv6 extends InternetProtocolFamily with Product with Serializable

  5. object InternetProtocolFamily

  6. def dataPacketHandlerToJava(handler: (DatagramPacket) ⇒ Unit): Handler[java.core.datagram.DatagramPacket]

Inherited from AnyRef

Inherited from Any

Ungrouped