Package | Description |
---|---|
io.vertx.reactivex.core | |
io.vertx.reactivex.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 | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<DatagramSocket> |
DatagramSocket.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String sourceToBlock,
Handler<AsyncResult<DatagramSocket>> handler)
Block the given address for the given multicast address and notifies the once
the operation completes.
|
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String networkInterface,
String sourceToBlock,
Handler<AsyncResult<DatagramSocket>> handler)
Block the given address for the given multicast address on the given network interface and notifies
the 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<DatagramSocket>> handler)
Joins a multicast group and listens for packets send to it.
|
DatagramSocket |
DatagramSocket.listenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<DatagramSocket>> handler)
Joins a multicast group and listens for packets send to it on the given network interface.
|
static DatagramSocket |
DatagramSocket.newInstance(DatagramSocket arg) |
DatagramSocket |
DatagramSocket.pause() |
DatagramSocket |
DatagramSocket.resume() |
DatagramSocket |
DatagramSocket.send(Buffer packet,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
Buffer to the SocketAddress . |
DatagramSocket |
DatagramSocket.send(String str,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
String to the SocketAddress using UTF8 encoding. |
DatagramSocket |
DatagramSocket.send(String str,
String enc,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
String to the SocketAddress using the given encoding. |
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
Handler<AsyncResult<DatagramSocket>> handler)
Leaves a multicast group and stops listening for packets send to it.
|
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<DatagramSocket>> handler)
Leaves a multicast group and stops listening for packets send to it on the given network interface.
|
Modifier and Type | Method and Description |
---|---|
Single<DatagramSocket> |
DatagramSocket.rxBlockMulticastGroup(String multicastAddress,
String sourceToBlock)
Block the given address for the given multicast address and notifies the once
the operation completes.
|
Single<DatagramSocket> |
DatagramSocket.rxBlockMulticastGroup(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.
|
Single<DatagramSocket> |
DatagramSocket.rxListen(int port,
String host)
Start listening on the given port and host.
|
Single<DatagramSocket> |
DatagramSocket.rxListenMulticastGroup(String multicastAddress)
Joins a multicast group and listens for packets send to it.
|
Single<DatagramSocket> |
DatagramSocket.rxListenMulticastGroup(String multicastAddress,
String networkInterface,
String source)
Joins a multicast group and listens for packets send to it on the given network interface.
|
Single<DatagramSocket> |
DatagramSocket.rxSend(Buffer packet,
int port,
String host)
Write the given
Buffer to the SocketAddress . |
Single<DatagramSocket> |
DatagramSocket.rxSend(String str,
int port,
String host)
Write the given
String to the SocketAddress using UTF8 encoding. |
Single<DatagramSocket> |
DatagramSocket.rxSend(String str,
String enc,
int port,
String host)
Write the given
String to the SocketAddress using the given encoding. |
Single<DatagramSocket> |
DatagramSocket.rxUnlistenMulticastGroup(String multicastAddress)
Leaves a multicast group and stops listening for packets send to it.
|
Single<DatagramSocket> |
DatagramSocket.rxUnlistenMulticastGroup(String multicastAddress,
String networkInterface,
String source)
Leaves a multicast group and stops listening for packets send to it on the given network interface.
|
Modifier and Type | Method and Description |
---|---|
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String sourceToBlock,
Handler<AsyncResult<DatagramSocket>> handler)
Block the given address for the given multicast address and notifies the once
the operation completes.
|
DatagramSocket |
DatagramSocket.blockMulticastGroup(String multicastAddress,
String networkInterface,
String sourceToBlock,
Handler<AsyncResult<DatagramSocket>> handler)
Block the given address for the given multicast address on the given network interface and notifies
the once the operation completes.
|
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<DatagramSocket>> handler)
Joins a multicast group and listens for packets send to it.
|
DatagramSocket |
DatagramSocket.listenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<DatagramSocket>> handler)
Joins a multicast group and listens for packets send to it on the given network interface.
|
DatagramSocket |
DatagramSocket.send(Buffer packet,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
Buffer to the SocketAddress . |
DatagramSocket |
DatagramSocket.send(String str,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
String to the SocketAddress using UTF8 encoding. |
DatagramSocket |
DatagramSocket.send(String str,
String enc,
int port,
String host,
Handler<AsyncResult<DatagramSocket>> handler)
Write the given
String to the SocketAddress using the given encoding. |
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
Handler<AsyncResult<DatagramSocket>> handler)
Leaves a multicast group and stops listening for packets send to it.
|
DatagramSocket |
DatagramSocket.unlistenMulticastGroup(String multicastAddress,
String networkInterface,
String source,
Handler<AsyncResult<DatagramSocket>> handler)
Leaves a multicast group and stops listening for packets send to it on the given network interface.
|
Copyright © 2023 Eclipse. All rights reserved.