MCPcopy
hub / github.com/novnc/noVNC / clientFence

Function clientFence

core/rfb.js:3285–3298  ·  view source on GitHub ↗
(sock, flags, payload)

Source from the content-addressed store, hash-verified

3283 },
3284
3285 clientFence(sock, flags, payload) {
3286 sock.sQpush8(248); // msg-type
3287
3288 sock.sQpush8(0); // padding
3289 sock.sQpush8(0); // padding
3290 sock.sQpush8(0); // padding
3291
3292 sock.sQpush32(flags);
3293
3294 sock.sQpush8(payload.length);
3295 sock.sQpushString(payload);
3296
3297 sock.flush();
3298 },
3299
3300 enableContinuousUpdates(sock, enable, x, y, width, height) {
3301 sock.sQpush8(150); // msg-type

Callers

nothing calls this directly

Calls 4

sQpush8Method · 0.80
sQpush32Method · 0.80
sQpushStringMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…