abstract fun listen(): TcpEventBusBridge
Listen on default port 7000
Return
self
abstract fun listen(handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge
Listen on default port 7000 with a handler to report the state of the socket listen operation.
Return
self
abstract fun listen(port: Int, address: String): TcpEventBusBridge
Listen on specific port and bind to specific address
address - tcp address to the bind
Return
self
abstract fun listen(port: Int, address: String, handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge
Listen on specific port and bind to specific address
address - tcp address to the bind
Return
self
abstract fun listen(port: Int): TcpEventBusBridge
Listen on specific port
Return
self
abstract fun listen(port: Int, handler: Handler<AsyncResult<TcpEventBusBridge>>): TcpEventBusBridge
Listen on specific port
Return
self