new TcpEventBusBridge()
TCP EventBus bridge for Vert.x
Methods
close()
Close the current socket.
listen(port, handler) → {TcpEventBusBridge}
Listen on specific port
Parameters:
| Name | Type | Description |
|---|---|---|
port |
number | tcp port |
handler |
function | the result handler |
Returns:
self
- Type
- TcpEventBusBridge