(chan)
| 417 | sendPacket(this, this._packetRW.write.finalize(packet)); |
| 418 | } |
| 419 | channelEOF(chan) { |
| 420 | // Does not consume window space |
| 421 | |
| 422 | let p = this._packetRW.write.allocStart; |
| 423 | const packet = this._packetRW.write.alloc(1 + 4); |
| 424 | |
| 425 | packet[p] = MESSAGE.CHANNEL_EOF; |
| 426 | |
| 427 | writeUInt32BE(packet, chan, ++p); |
| 428 | |
| 429 | this._debug && this._debug(`Outbound: Sending CHANNEL_EOF (r:${chan})`); |
| 430 | sendPacket(this, this._packetRW.write.finalize(packet)); |
| 431 | } |
| 432 | channelClose(chan) { |
| 433 | // Does not consume window space |
| 434 |
no test coverage detected