Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package io
    Definition Classes
    akka
  • object Udp extends ExtensionId[UdpExt] with ExtensionIdProvider

    UDP Extension for Akka’s IO layer.

    UDP Extension for Akka’s IO layer.

    This extension implements the connectionless UDP protocol without calling connect on the underlying sockets, i.e. without restricting from whom data can be received. For “connected” UDP mode see UdpConnected.

    For a full description of the design and philosophy behind this IO implementation please refer to the Akka online documentation.

    The Java API for generating UDP commands is available at UdpMessage.

    Definition Classes
    io
  • object SO extends SoForwarders

    Scala API: This object provides access to all socket options applicable to UDP sockets.

    Scala API: This object provides access to all socket options applicable to UDP sockets.

    For the Java API see UdpSO.

    Definition Classes
    Udp
  • Broadcast
c

akka.io.Udp.SO

Broadcast

final case class Broadcast(on: Boolean) extends SocketOption with Product with Serializable

akka.io.Inet.SocketOption to set the SO_BROADCAST option

For more information see java.net.DatagramSocket#setBroadcast

Source
Udp.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Broadcast
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SocketOption
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Broadcast(on: Boolean)

Value Members

  1. def afterConnect(s: Socket): Unit

    Action to be taken for this option after connect returned (i.e.

    Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

    Definition Classes
    SocketOption
  2. def beforeConnect(s: Socket): Unit

    Action to be taken for this option before calling connect()

    Action to be taken for this option before calling connect()

    Definition Classes
    SocketOption
  3. def beforeDatagramBind(s: DatagramSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    BroadcastSocketOption
  4. def beforeServerSocketBind(ss: ServerSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    SocketOption
  5. val on: Boolean