vertx / io.vertx.ext.kotlin.eventbus.bridge.tcp / io.vertx.ext.eventbus.bridge.tcp.TcpEventBusBridge

Extensions for io.vertx.ext.eventbus.bridge.tcp.TcpEventBusBridge

closeAwait

suspend fun TcpEventBusBridge.closeAwait(): Unit

Close the current socket.

listenAwait

suspend fun TcpEventBusBridge.listenAwait(): TcpEventBusBridge

Listen on default port 7000 with a handler to report the state of the socket listen operation.

suspend fun TcpEventBusBridge.listenAwait(port: Int, address: String): TcpEventBusBridge

Listen on specific port and bind to specific address

suspend fun TcpEventBusBridge.listenAwait(port: Int): TcpEventBusBridge

Listen on specific port