aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-10-26 15:54:56 +0200
committerPierre Ossman <ossman@cendio.se>2018-11-09 17:25:23 +0100
commita4308c9ec45b0ebcafaed2280b442d2840098e4e (patch)
tree243a24171e0a17131f81e12bbcb4fd1f903acc54 /common/rfb/VNCServerST.h
parent65e08fdc9d783a863b0d0b0acb62c9f3a6b49d63 (diff)
downloadtigervnc-a4308c9ec45b0ebcafaed2280b442d2840098e4e.tar.gz
tigervnc-a4308c9ec45b0ebcafaed2280b442d2840098e4e.zip
Get rid of SocketServer::checkTimeouts()
It doesn't belong on each socket server object as timers are global. Force implementations to call the Timer system directly instead, avoiding any middle men.
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r--common/rfb/VNCServerST.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index a994c942..43a3bb95 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -76,12 +76,6 @@ namespace rfb {
// Flush pending data from the Socket on to the network.
virtual void processSocketWriteEvent(network::Socket* sock);
- // checkTimeouts
- // Returns the number of milliseconds left until the next idle timeout
- // expires. If any have already expired, the corresponding connections
- // are closed. Zero is returned if there is no idle timeout.
- virtual int checkTimeouts();
-
// Methods overridden from VNCServer