# Class: TcpEventBusBridge

## vertx-tcp-eventbus-bridge-js/tcp_event_bus_bridge~ TcpEventBusBridge

#### new TcpEventBusBridge()

TCP EventBus bridge for Vert.x

Source:
  - vertx-tcp-eventbus-bridge-js/tcp_event_bus_bridge.js, line 32

### Methods

#### close(handler)

Close the current socket.

##### Parameters:

Name | Type | Description
--- | --- | ---
`handler` | function | the result handler

Source:
  - vertx-tcp-eventbus-bridge-js/tcp_event_bus_bridge.js, line 93

#### 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

Source:
  - vertx-tcp-eventbus-bridge-js/tcp_event_bus_bridge.js, line 46

##### Returns:

self

Type
  TcpEventBusBridge