aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-01-19 13:45:06 +0100
committerPierre Ossman <ossman@cendio.se>2021-01-19 13:45:06 +0100
commit59d5bc4095383f73635398c21611d95274a4d914 (patch)
treee4c325f0013ed27cc38b9e7d5538550457a7db77 /common/rfb/VNCSConnectionST.h
parentedaf70bd36667c85d70fb362213ec93c58bb8577 (diff)
parent8ddebf6dd2dca7be98230e2b8d567c70833bd5a7 (diff)
downloadtigervnc-59d5bc4095383f73635398c21611d95274a4d914.tar.gz
tigervnc-59d5bc4095383f73635398c21611d95274a4d914.zip
Merge branch 'noblock' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'common/rfb/VNCSConnectionST.h')
-rw-r--r--common/rfb/VNCSConnectionST.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h
index 617e3c39..6d95008d 100644
--- a/common/rfb/VNCSConnectionST.h
+++ b/common/rfb/VNCSConnectionST.h
@@ -107,13 +107,14 @@ namespace rfb {
updates.add_copied(dest, delta);
}
+ const char* getPeerEndpoint() const {return peerEndpoint.buf;}
+
private:
// SConnection callbacks
// These methods are invoked as callbacks from processMsg()
virtual void authSuccess();
- virtual void authFailure(const char* reason);
virtual void queryConnection(const char* userName);
virtual void clientInit(bool shared);
virtual void setPixelFormat(const PixelFormat& pf);
@@ -156,7 +157,6 @@ namespace rfb {
void setCursor();
void setDesktopName(const char *name);
void setLEDState(unsigned int state);
- void setSocketTimeouts();
private:
network::Socket* sock;
@@ -191,9 +191,6 @@ namespace rfb {
Point pointerEventPos;
bool clientHasCursor;
- Timer authFailureTimer;
- CharArray authFailureMsg;
-
CharArray closeReason;
};
}