* Write TCP connected event * @param {string} key - TCP session key
(key)
| 142 | * @param {string} key - TCP session key |
| 143 | */ |
| 144 | writeTcpConnected(key) { |
| 145 | const keyBytes = Buffer.from(key, 'utf8'); |
| 146 | return this.writeMessage(NET_MSG_TCP_CONNECTED, keyBytes); |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Write TCP data - writes as much as will fit, returns amount written |
no test coverage detected