Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.datagram | |
io.vertx.core.spi.metrics | |
io.vertx.reactivex.core | |
io.vertx.rxjava.core | |
io.vertx.rxjava3.core |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
Vertx.createDatagramSocket(DatagramSocketOptions options)
Create a datagram socket using the specified options
|
Modifier and Type | Method and Description |
---|---|
DatagramSocketOptions |
DatagramSocketOptions.setBroadcast(boolean broadcast)
Set if the socket can send or receive broadcast packets
|
DatagramSocketOptions |
DatagramSocketOptions.setIpV6(boolean ipV6)
Set if IP v6 should be used
|
DatagramSocketOptions |
DatagramSocketOptions.setLogActivity(boolean logEnabled) |
DatagramSocketOptions |
DatagramSocketOptions.setLoopbackModeDisabled(boolean loopbackModeDisabled)
Set if loopback mode is disabled
|
DatagramSocketOptions |
DatagramSocketOptions.setMulticastNetworkInterface(String multicastNetworkInterface)
Set the multicast network interface address
|
DatagramSocketOptions |
DatagramSocketOptions.setMulticastTimeToLive(int multicastTimeToLive)
Set the multicast ttl value
|
DatagramSocketOptions |
DatagramSocketOptions.setReceiveBufferSize(int receiveBufferSize) |
DatagramSocketOptions |
DatagramSocketOptions.setReuseAddress(boolean reuseAddress) |
DatagramSocketOptions |
DatagramSocketOptions.setReusePort(boolean reusePort) |
DatagramSocketOptions |
DatagramSocketOptions.setSendBufferSize(int sendBufferSize) |
DatagramSocketOptions |
DatagramSocketOptions.setTrafficClass(int trafficClass) |
Constructor and Description |
---|
DatagramSocketOptions(DatagramSocketOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
default DatagramSocketMetrics |
VertxMetrics.createDatagramSocketMetrics(DatagramSocketOptions options)
Provides the datagram/udp metrics SPI when a datagram socket is created.
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
Vertx.createDatagramSocket(DatagramSocketOptions options)
Create a datagram socket using the specified options
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
Vertx.createDatagramSocket(DatagramSocketOptions options)
Create a datagram socket using the specified options
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
Vertx.createDatagramSocket(DatagramSocketOptions options)
Create a datagram socket using the specified options
|
Copyright © 2021 Eclipse. All rights reserved.