aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.cxx
diff options
context:
space:
mode:
authorCarlos Santos <casantos@redhat.com>2024-01-09 10:32:20 -0300
committerCarlos Santos <casantos@redhat.com>2024-04-26 10:18:49 -0300
commitd77e2b01f972ef12b722e3ef9d22efdc241689c3 (patch)
tree60629992f2ce250d27b55262efb0984575bec41e /common/rfb/VNCServerST.cxx
parentae81801cccbbef7c424103ec3aee9bfc6021059e (diff)
downloadtigervnc-d77e2b01f972ef12b722e3ef9d22efdc241689c3.tar.gz
tigervnc-d77e2b01f972ef12b722e3ef9d22efdc241689c3.zip
Remove the network::SocketServer interface.
Move these RFB specific things to rfb::VNCServer, for clarity. Signed-off-by: Pierre Ossman <ossman@cendio.se> Signed-off-by: Carlos Santos <casantos@redhat.com>
Diffstat (limited to 'common/rfb/VNCServerST.cxx')
-rw-r--r--common/rfb/VNCServerST.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx
index c97b0735..edf23a4f 100644
--- a/common/rfb/VNCServerST.cxx
+++ b/common/rfb/VNCServerST.cxx
@@ -55,6 +55,8 @@
#include <assert.h>
#include <stdlib.h>
+#include <network/Socket.h>
+
#include <rfb/ComparingUpdateTracker.h>
#include <rfb/Exception.h>
#include <rfb/KeyRemapper.h>
@@ -128,7 +130,7 @@ VNCServerST::~VNCServerST()
}
-// SocketServer methods
+// VNCServer methods
void VNCServerST::addSocket(network::Socket* sock, bool outgoing)
{
@@ -233,8 +235,6 @@ void VNCServerST::processSocketWriteEvent(network::Socket* sock)
throw rdr::Exception("invalid Socket in VNCServerST");
}
-// VNCServer methods
-
void VNCServerST::blockUpdates()
{
blockCounter++;