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

Function fbUpdateRequest

systemvm/agent/noVNC/core/rfb.js:3544–3558  ·  view source on GitHub ↗
(sock, incremental, x, y, w, h)

Source from the content-addressed store, hash-verified

3542 },
3543
3544 fbUpdateRequest(sock, incremental, x, y, w, h) {
3545 if (typeof(x) === "undefined") { x = 0; }
3546 if (typeof(y) === "undefined") { y = 0; }
3547
3548 sock.sQpush8(3); // msg-type
3549
3550 sock.sQpush8(incremental ? 1 : 0);
3551
3552 sock.sQpush16(x);
3553 sock.sQpush16(y);
3554 sock.sQpush16(w);
3555 sock.sQpush16(h);
3556
3557 sock.flush();
3558 },
3559
3560 xvpOp(sock, ver, op) {
3561 sock.sQpush8(250); // msg-type

Callers

nothing calls this directly

Calls 3

sQpush8Method · 0.80
sQpush16Method · 0.80
flushMethod · 0.45

Tested by

no test coverage detected