()
| 3133 | } |
| 3134 | |
| 3135 | _handleDataRect() { |
| 3136 | let decoder = this._decoders[this._FBU.encoding]; |
| 3137 | if (!decoder) { |
| 3138 | this._fail("Unsupported encoding (encoding: " + |
| 3139 | this._FBU.encoding + ")"); |
| 3140 | return false; |
| 3141 | } |
| 3142 | |
| 3143 | try { |
| 3144 | return decoder.decodeRect(this._FBU.x, this._FBU.y, |
| 3145 | this._FBU.width, this._FBU.height, |
| 3146 | this._sock, this._display, |
| 3147 | this._fbDepth); |
| 3148 | } catch (err) { |
| 3149 | this._fail("Error decoding rect: " + err); |
| 3150 | return false; |
| 3151 | } |
| 3152 | } |
| 3153 | |
| 3154 | _updateContinuousUpdates() { |
| 3155 | if (!this._enabledContinuousUpdates) { return; } |
no test coverage detected