vertx / io.vertx.ext.rxjava.eventbus.bridge.tcp / TcpEventBusBridge / listen

listen

open fun listen(): TcpEventBusBridge

Listen on default port 7000

Return
self

open fun listen(handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge

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

Parameters

handler - the result handler

Return
self

open fun listen(port: Int, address: String): TcpEventBusBridge

Listen on specific port and bind to specific address

Parameters

port - tcp port

address - tcp address to the bind

Return
self

open fun listen(port: Int, address: String, handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge

Listen on specific port and bind to specific address

Parameters

port - tcp port

address - tcp address to the bind

handler - the result handler

Return
self

open fun listen(port: Int): TcpEventBusBridge

Listen on specific port

Parameters

port - tcp port

Return
self

open fun listen(port: Int, handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge

Listen on specific port

Parameters

port - tcp port

handler - the result handler

Return
self