(e3, t3)
| 5468 | super(), this._bufferService = e3, this._coreService = t3, this._protocols = {}, this._encodings = {}, this._activeProtocol = "", this._activeEncoding = "", this._lastEvent = null, this._onProtocolChange = this.register(new o.EventEmitter()), this.onProtocolChange = this._onProtocolChange.event; |
| 5469 | for (const e4 of Object.keys(h)) this.addProtocol(e4, h[e4]); |
| 5470 | for (const e4 of Object.keys(d)) this.addEncoding(e4, d[e4]); |
| 5471 | this.reset(); |
| 5472 | } |
| 5473 | addProtocol(e3, t3) { |
| 5474 | this._protocols[e3] = t3; |
| 5475 | } |