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