vertx / io.vertx.kotlin.core.datagram / io.vertx.core.datagram.DatagramSocket

Extensions for io.vertx.core.datagram.DatagramSocket

blockMulticastGroupAwait

suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, sourceToBlock: String): DatagramSocket
suspend fun DatagramSocket.blockMulticastGroupAwait(multicastAddress: String, networkInterface: String, sourceToBlock: String): DatagramSocket

Suspending version of method io.vertx.core.datagram.DatagramSocket.blockMulticastGroup

closeAwait

suspend fun DatagramSocket.closeAwait(): Unit

Suspending version of method io.vertx.core.datagram.DatagramSocket.close

listenAwait

suspend fun DatagramSocket.listenAwait(port: Int, host: String): DatagramSocket

Suspending version of method io.vertx.core.datagram.DatagramSocket.listen

listenMulticastGroupAwait

suspend fun DatagramSocket.listenMulticastGroupAwait(multicastAddress: String): DatagramSocket
suspend fun DatagramSocket.listenMulticastGroupAwait(multicastAddress: String, networkInterface: String, source: String): DatagramSocket

Suspending version of method io.vertx.core.datagram.DatagramSocket.listenMulticastGroup

pipeToAwait

suspend fun DatagramSocket.pipeToAwait(dst: WriteStream<DatagramPacket>): Unit

Suspending version of method io.vertx.core.datagram.DatagramSocket.pipeTo

sendAwait

suspend fun DatagramSocket.sendAwait(packet: Buffer, port: Int, host: String): DatagramSocket
suspend fun DatagramSocket.sendAwait(str: String, port: Int, host: String): DatagramSocket
suspend fun DatagramSocket.sendAwait(str: String, enc: String, port: Int, host: String): DatagramSocket

Suspending version of method io.vertx.core.datagram.DatagramSocket.send

unlistenMulticastGroupAwait

suspend fun DatagramSocket.unlistenMulticastGroupAwait(multicastAddress: String): DatagramSocket
suspend fun DatagramSocket.unlistenMulticastGroupAwait(multicastAddress: String, networkInterface: String, source: String): DatagramSocket

Suspending version of method io.vertx.core.datagram.DatagramSocket.unlistenMulticastGroup