summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-13 14:41:27 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-13 14:41:27 +0000
commitf99c5719e465eb00b7e1bd9c16720ede6fa08b52 (patch)
tree9e5898466b865e4cad6c451703ce3acfdb47954f /common/rfb/VNCSConnectionST.cxx
parent4f0f7db92b11a87660424132bfbbf872ec3cc2e6 (diff)
downloadtigervnc-f99c5719e465eb00b7e1bd9c16720ede6fa08b52.tar.gz
tigervnc-f99c5719e465eb00b7e1bd9c16720ede6fa08b52.zip
Remove file transfer support.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3677 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCSConnectionST.cxx')
-rw-r--r--common/rfb/VNCSConnectionST.cxx20
1 files changed, 1 insertions, 19 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 8e234743..e021aa6f 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -36,7 +36,7 @@ VNCSConnectionST::VNCSConnectionST(VNCServerST* server_, network::Socket *s,
updates(false), image_getter(server->useEconomicTranslate),
drawRenderedCursor(false), removeRenderedCursor(false),
pointerEventTime(0), accessRights(AccessDefault),
- startTime(time(0)), m_pFileTransfer(0)
+ startTime(time(0))
{
setStreams(&sock->inStream(), &sock->outStream());
peerEndpoint.buf = sock->getPeerEndpoint();
@@ -46,14 +46,6 @@ VNCSConnectionST::VNCSConnectionST(VNCServerST* server_, network::Socket *s,
setSocketTimeouts();
lastEventTime = time(0);
- // Add this client to the VNCServerST
- if (server->m_pFTManager != NULL) {
- SFileTransfer *pFT = server->m_pFTManager->createObject(sock);
- if (pFT != NULL) {
- m_pFileTransfer = pFT;
- }
- }
-
server->clients.push_front(this);
}
@@ -72,9 +64,6 @@ VNCSConnectionST::~VNCSConnectionST()
if (server->pointerClient == this)
server->pointerClient = 0;
- if (m_pFileTransfer)
- server->m_pFTManager->destroyObject(m_pFileTransfer);
-
// Remove this client from the server
server->clients.remove(this);
@@ -747,10 +736,3 @@ int VNCSConnectionST::getStatus()
return 4;
}
-bool VNCSConnectionST::processFTMsg(int type)
-{
- if (m_pFileTransfer != NULL)
- return m_pFileTransfer->processMessages(type);
- else
- return false;
-}