()
| 121 | } |
| 122 | |
| 123 | public close() { |
| 124 | this.socket && this.socket.end(); |
| 125 | this.handleClose(); |
| 126 | this.pendingEventListeners = []; |
| 127 | } |
| 128 | |
| 129 | public registerConnectListener(socket: TcpSocket) { |
| 130 | socket.on(TcpEventsMap.CONNECT, () => { |
nothing calls this directly
no test coverage detected