(chan)
| 430 | sendPacket(this, this._packetRW.write.finalize(packet)); |
| 431 | } |
| 432 | channelClose(chan) { |
| 433 | // Does not consume window space |
| 434 | |
| 435 | let p = this._packetRW.write.allocStart; |
| 436 | const packet = this._packetRW.write.alloc(1 + 4); |
| 437 | |
| 438 | packet[p] = MESSAGE.CHANNEL_CLOSE; |
| 439 | |
| 440 | writeUInt32BE(packet, chan, ++p); |
| 441 | |
| 442 | this._debug && this._debug(`Outbound: Sending CHANNEL_CLOSE (r:${chan})`); |
| 443 | sendPacket(this, this._packetRW.write.finalize(packet)); |
| 444 | } |
| 445 | channelWindowAdjust(chan, amount) { |
| 446 | // Does not consume window space |
| 447 |
no test coverage detected