MCPcopy Create free account
hub / github.com/apache/cloudstack / _handleDataRect

Method _handleDataRect

systemvm/agent/noVNC/core/rfb.js:3135–3152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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; }

Callers 1

_handleRectMethod · 0.95

Calls 2

_failMethod · 0.95
decodeRectMethod · 0.45

Tested by

no test coverage detected