Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.datagram | |
io.vertx.reactivex.core.datagram | |
io.vertx.rxjava.core.datagram | |
io.vertx.rxjava3.core.datagram |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
Vertx.createDatagramSocket()
Create a datagram socket using default options
|
DatagramSocket |
Vertx.createDatagramSocket(DatagramSocketOptions options)
Create a datagram socket using the specified options
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String sourceToBlock,
Handler<AsyncResult<Void>> handler)
Block the given address for the given multicast address and notifies the
Handler once
the operation completes. |
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String networkInterface,
String sourceToBlock,
Handler<AsyncResult<Void>> handler)
Block the given address for the given multicast address on the given network interface and notifies
the
Handler once the operation completes. |
DatagramSocket |
DatagramSocket.endHandler(Handler<Void> endHandler) |
DatagramSocket |
DatagramSocket.exceptionHandler(Handler<Throwable> handler) |
DatagramSocket |
DatagramSocket.fetch(long amount) |
DatagramSocket |
DatagramSocket.handler(Handler<DatagramPacket> handler) |
DatagramSocket |
DatagramSocket.listen(int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Start listening on the given port and host.
|
DatagramSocket |
DatagramSocket.listenMulticastGroup(String multicastAddress,
Handler<AsyncResult<Void>> handler)
Joins a multicast group and listens for packets send to it.
|
DatagramSocket |
DatagramSocket.listenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<Void>> handler)
Joins a multicast group and listens for packets send to it on the given network interface.
|
DatagramSocket |
DatagramSocket.pause() |
DatagramSocket |
DatagramSocket.resume() |
DatagramSocket |
DatagramSocket.send(Buffer packet,
int port,
String host,
Handler<AsyncResult<Void>> handler)
Write the given
Buffer to the SocketAddress . |
DatagramSocket |
DatagramSocket.send(String str,
int port,
String host,
Handler<AsyncResult<Void>> handler)
Write the given
String to the SocketAddress using UTF8 encoding. |
DatagramSocket |
DatagramSocket.send(String str,
String enc,
int port,
String host,
Handler<AsyncResult<Void>> handler)
Write the given
String to the SocketAddress using the given encoding. |
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
Handler<AsyncResult<Void>> handler)
Leaves a multicast group and stops listening for packets send to it.
|
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<Void>> handler)
Leaves a multicast group and stops listening for packets send to it on the given network interface.
|
Modifier and Type | Method and Description |
---|---|
Future<DatagramSocket> |
DatagramSocket.listen(int port,
String host)
Like
listen(int, String, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.listen(int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Start listening on the given port and host.
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static DatagramSocket |
DatagramSocket.newInstance(DatagramSocket arg) |
Constructor and Description |
---|
DatagramSocket(DatagramSocket delegate) |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static DatagramSocket |
DatagramSocket.newInstance(DatagramSocket arg) |
Constructor and Description |
---|
DatagramSocket(DatagramSocket delegate) |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static DatagramSocket |
DatagramSocket.newInstance(DatagramSocket arg) |
Constructor and Description |
---|
DatagramSocket(DatagramSocket delegate) |
Copyright © 2021 Eclipse. All rights reserved.