| Package | Description |
|---|---|
| io.vertx.axle.core | |
| io.vertx.axle.core.datagram |
| Modifier and Type | Method and Description |
|---|---|
DatagramSocket |
Vertx.createDatagramSocket()
Create a datagram socket using default options
|
DatagramSocket |
Vertx.createDatagramSocket(io.vertx.core.datagram.DatagramSocketOptions options)
Create a datagram socket using the specified options
|
| Modifier and Type | Field and Description |
|---|---|
static TypeArg<DatagramSocket> |
DatagramSocket.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
DatagramSocket |
DatagramSocket.endHandler(Consumer<Void> endHandler) |
DatagramSocket |
DatagramSocket.exceptionHandler(Consumer<Throwable> handler) |
DatagramSocket |
DatagramSocket.fetch(long amount) |
DatagramSocket |
DatagramSocket.handler(Consumer<DatagramPacket> handler) |
static DatagramSocket |
DatagramSocket.newInstance(io.vertx.core.datagram.DatagramSocket arg) |
DatagramSocket |
DatagramSocket.pause() |
DatagramSocket |
DatagramSocket.resume() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<DatagramSocket> |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String sourceToBlock)
Block the given address for the given multicast address and notifies the once
the operation completes.
|
CompletionStage<DatagramSocket> |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String networkInterface,
String sourceToBlock)
Block the given address for the given multicast address on the given network interface and notifies
the once the operation completes.
|
CompletionStage<DatagramSocket> |
DatagramSocket.listen(int port,
String host)
Start listening on the given port and host.
|
CompletionStage<DatagramSocket> |
DatagramSocket.listenMulticastGroup(String multicastAddress)
Joins a multicast group and listens for packets send to it.
|
CompletionStage<DatagramSocket> |
DatagramSocket.listenMulticastGroup(String multicastAddress,
String networkInterface,
String source)
Joins a multicast group and listens for packets send to it on the given network interface.
|
CompletionStage<DatagramSocket> |
DatagramSocket.send(Buffer packet,
int port,
String host)
Write the given
Buffer to the SocketAddress. |
CompletionStage<DatagramSocket> |
DatagramSocket.send(String str,
int port,
String host)
Write the given
String to the SocketAddress using UTF8 encoding. |
CompletionStage<DatagramSocket> |
DatagramSocket.send(String str,
String enc,
int port,
String host)
Write the given
String to the SocketAddress using the given encoding. |
CompletionStage<DatagramSocket> |
DatagramSocket.unlistenMulticastGroup(String multicastAddress)
Leaves a multicast group and stops listening for packets send to it.
|
CompletionStage<DatagramSocket> |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
String networkInterface,
String source)
Leaves a multicast group and stops listening for packets send to it on the given network interface.
|
Copyright © 2019 SmallRye. All rights reserved.