vertx-lang-scala-docs_2.12 3.6.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package datagram
  Definition Classes
    core
- DatagramPacket
- DatagramSocket
- DatagramSocketOptions

c

io.vertx.scala.core.datagram

# DatagramSocketOptions 

###
Companion object DatagramSocketOptions

#### class DatagramSocketOptions extends NetworkOptions

Options used to configure a datagram socket.

Linear Supertypes
NetworkOptions, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. DatagramSocketOptions
2. NetworkOptions
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new DatagramSocketOptions(_asJava: core.datagram.DatagramSocketOptions)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def asJava: core.datagram.DatagramSocketOptions
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  def getLogActivity: Boolean
    Definition Classes
      DatagramSocketOptions → NetworkOptions
12.  def getMulticastNetworkInterface: String
13.  def getMulticastTimeToLive: Int
14.  def getReceiveBufferSize: Int
    Definition Classes
      DatagramSocketOptions → NetworkOptions
15.  def getSendBufferSize: Int
    Definition Classes
      DatagramSocketOptions → NetworkOptions
16.  def getTrafficClass: Int
    Definition Classes
      DatagramSocketOptions → NetworkOptions
17.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
18.  def isBroadcast: Boolean
19.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
20.  def isIpV6: Boolean
21.  def isLoopbackModeDisabled: Boolean
22.  def isReuseAddress: Boolean
    Definition Classes
      DatagramSocketOptions → NetworkOptions
23.  def isReusePort: Boolean
    Definition Classes
      DatagramSocketOptions → NetworkOptions
24.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
25.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
26.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
27.  def setBroadcast(value: Boolean): DatagramSocketOptions

    Set if the socket can send or receive broadcast packets

28.  def setIpV6(value: Boolean): DatagramSocketOptions

    Set if IP v6 should be used

29.  def setLogActivity(value: Boolean): DatagramSocketOptions

    Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Definition Classes
      DatagramSocketOptions → NetworkOptions
30.  def setLoopbackModeDisabled(value: Boolean): DatagramSocketOptions

    Set if loopback mode is disabled

31.  def setMulticastNetworkInterface(value: String): DatagramSocketOptions

    Set the multicast network interface address

32.  def setMulticastTimeToLive(value: Int): DatagramSocketOptions

    Set the multicast ttl value

33.  def setReceiveBufferSize(value: Int): DatagramSocketOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

    Definition Classes
      DatagramSocketOptions → NetworkOptions
34.  def setReuseAddress(value: Boolean): DatagramSocketOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
      DatagramSocketOptions → NetworkOptions
35.  def setReusePort(value: Boolean): DatagramSocketOptions

    Set the value of reuse port.

    Set the value of reuse port.

    This is only supported by native transports.

    Definition Classes
      DatagramSocketOptions → NetworkOptions
36.  def setSendBufferSize(value: Int): DatagramSocketOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
      DatagramSocketOptions → NetworkOptions
37.  def setTrafficClass(value: Int): DatagramSocketOptions

    Set the value of traffic class

    Set the value of traffic class

    Definition Classes
      DatagramSocketOptions → NetworkOptions
38.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
39.  def toString(): String
    Definition Classes
      AnyRef → Any
40.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
41.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
42.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from NetworkOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped