MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / readClientRedirect

Method readClientRedirect

java/com/tigervnc/rfb/CMsgReader.java:488–498  ·  view source on GitHub ↗
(int x, int y, int w, int h)

Source from the content-addressed store, hash-verified

486 }
487
488 protected void readClientRedirect(int x, int y, int w, int h)
489 {
490 int port = is.readU16();
491 String host = is.readString();
492 String x509subject = is.readString();
493
494 if (x != 0 || y != 0 || w != 0 || h != 0)
495 vlog.error("Ignoring ClientRedirect rect with non-zero position/size");
496 else
497 handler.clientRedirect(port, host, x509subject);
498 }
499
500 public int[] getImageBuf(int required) { return getImageBuf(required, 0, 0); }
501

Callers 1

readMsgMethod · 0.95

Calls 4

errorMethod · 0.80
readU16Method · 0.45
readStringMethod · 0.45
clientRedirectMethod · 0.45

Tested by

no test coverage detected