Example usage for Java io.vertx.core.datagram DatagramSocket fields, constructors, methods, implement or subclass
The text is from its open source code.
DatagramSocket | blockMulticastGroup(String multicastAddress, String sourceToBlock, Handler Block the given address for the given multicast address and notifies the Handler once the operation completes. |
Future | blockMulticastGroup(String multicastAddress, String networkInterface, String sourceToBlock) Like #blockMulticastGroup(String,String,String,Handler) but returns a Future of the asynchronous result |
DatagramSocket | handler(Handler |
DatagramSocket | listen(int port, String host, Handler Start listening on the given port and host. |
DatagramSocket | listenMulticastGroup(String multicastAddress, Handler Joins a multicast group and listens for packets send to it. |
DatagramSocket | send(Buffer packet, int port, String host, Handler Write the given io.vertx.core.buffer.Buffer to the io.vertx.core.net.SocketAddress . |
DatagramSocket | send(String str, int port, String host, Handler Write the given String to the io.vertx.core.net.SocketAddress using UTF8 encoding. |
Future | send(String str, String enc, int port, String host) Like #send(String,String,int,String,Handler) but returns a Future of the asynchronous result |
DatagramSocket | unlistenMulticastGroup(String multicastAddress, Handler Leaves a multicast group and stops listening for packets send to it. |