~ubuntu-branches/ubuntu/saucy/filezilla/saucy-proposed

« back to all changes in this revision

Viewing changes to src/engine/ftpcontrolsocket.h

  • Committer: Package Import Robot
  • Author(s): Adrien Cunin
  • Date: 2012-12-07 17:17:17 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20121207171717-nt6as62u4pa1uv11
Tags: 3.6.0.2-1ubuntu1
* Merge from Debian experimental. Remaining Ubuntu change:
   - Added debian/patches/11_use-decimal-si-by-default.patch in order to
     comply with UnitsPolicy

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "logging_private.h"
5
5
#include "ControlSocket.h"
6
6
#include "externalipresolver.h"
 
7
#include "rtt.h"
7
8
 
8
9
#define RECVBUFFERSIZE 4096
9
10
#define MAXLINELEN 2000
12
13
class CFtpTransferOpData;
13
14
class CRawTransferOpData;
14
15
class CTlsSocket;
 
16
 
15
17
class CFtpControlSocket : public CRealControlSocket
16
18
{
17
19
        friend class CTransferSocket;
81
83
        virtual void OnConnect();
82
84
        virtual void OnReceive();
83
85
 
84
 
        virtual bool Send(wxString str, bool maskArgs = false);
 
86
        virtual bool Send(wxString str, bool maskArgs = false, bool measureRTT = true);
85
87
 
86
88
        // Parse the latest reply line from the server
87
89
        void ParseLine(wxString line);
147
149
 
148
150
        wxTimer m_idleTimer;
149
151
 
 
152
        CLatencyMeasurement m_rtt;
 
153
 
150
154
        DECLARE_EVENT_TABLE();
151
155
        void OnExternalIPAddress(fzExternalIPResolveEvent& event);
152
156
        void OnIdleTimer(wxTimerEvent& event);