|
玉兔远程控制 0.1.0-bate11
|


类 | |
| struct | DIR_READER |
| struct | _AIO |
| struct | _AFILE |
Public 槽 | |
| void | slotGetDir (const QString &szPath, CRemoteFileSystem *p) |
| Get the directory asynchronously | |
| void | slotStartFileTransfer (QSharedPointer< CFileTransfer > f) |
| void | slotStopFileTransfer (QSharedPointer< CFileTransfer > f) |
信号 | |
| void | sigGetDir (CRemoteFileSystem *p, QVector< QSharedPointer< CRemoteFileSystem > > contents, bool bEnd) |
| void | sigFileTransferUpdate (QSharedPointer< CFileTransfer > f) |
| 信号 继承自 CChannel | |
| void | sigConnected () |
| emit when the channel is connected. | |
| void | sigDisconnected () |
| emit when the channel is disconnected | |
| void | sigError (int nErr, const QString &szErr) |
| emit when the channel is error | |
| void | sigSecurityLevel (CSecurityLevel::Levels level) |
| 当安全级别改变时触发 | |
| void | sigSend (quint64 counts) |
| Send data counts | |
| void | sigReceive (quint64 counts) |
| Receive data counts | |
Public 成员函数 | |
| CChannelSFTP (CBackend *pBackend, CParameterSSH *pPara, bool bWakeUp=true, QObject *parent=nullptr) | |
| int | GetDir (CRemoteFileSystem *p) |
| Synchronize to get the directory | |
| int | MakeDir (const QString &dir) |
| int | RemoveDir (const QString &dir) |
| int | RemoveFile (const QString &file) |
| int | Rename (const QString &oldPath, const QString &newPath) |
| int | Process () |
| Public 成员函数 继承自 CChannelSSH | |
| CChannelSSH (CBackend *pBackend, CParameterSSH *pPara, bool bWakeUp=true, QObject *parent=nullptr) | |
| virtual bool | open (OpenMode mode) override |
| virtual void | close () override |
| virtual int | WakeUp () |
| virtual QString | GetDetails () override |
| 依赖信息 | |
| Public 成员函数 继承自 CChannel | |
| CChannel (QTcpSocket *pSocket, QObject *parent=nullptr) | |
| CChannel | |
Protected 成员函数 | |
| virtual qint64 | readData (char *data, qint64 maxlen) override |
| virtual qint64 | writeData (const char *data, qint64 len) override |
| Protected 成员函数 继承自 CChannel | |
| CChannel (QObject *parent=nullptr) | |
| virtual bool | isSequential () const override |
Private 类型 | |
| enum class | STATE { OPEN , READ , CLOSE , FINISH , ERR } |
Private 成员函数 | |
| virtual int | OnOpen (ssh_session session) override |
| virtual void | OnClose () override |
| QSharedPointer< CRemoteFileSystem > | GetFileNode (const QString &szPath, sftp_attributes attributes) |
| int | AsyncReadDir () |
| int | AsyncFile () |
| int | CleanFileAIO (QSharedPointer< _AFILE > aio) |
Private 属性 | |
| sftp_session | m_SessionSftp |
| QVector< QSharedPointer< DIR_READER > > | m_vDirs |
| QVector< QSharedPointer< _AFILE > > | m_vFiles |
额外继承的成员函数 | |
| 静态 Public 成员函数 继承自 CChannel | |
| static int | InitTranslation () |
| Initial translation | |
| static int | RemoveTranslation () |
| Remove translation | |
| Protected 属性 继承自 CChannelSSH | |
| ssh_session | m_Session |
| ssh_channel | m_Channel |
| CBackend * | m_pBackend |
| CParameterSSH * | m_pParameter |
| Channel::CEvent * | m_pEvent |
在文件 ChannelSFTP.h 第 13 行定义.
|
strongprivate |
在文件 ChannelSFTP.h 第 53 行定义.
|
private |
在文件 ChannelSFTP.cpp 第 535 行定义.
|
private |
在文件 ChannelSFTP.cpp 第 404 行定义.
|
private |
在文件 ChannelSFTP.cpp 第 888 行定义.
| int CChannelSFTP::GetDir | ( | CRemoteFileSystem * | p | ) |
|
private |
在文件 ChannelSFTP.cpp 第 101 行定义.
| int CChannelSFTP::MakeDir | ( | const QString & | dir | ) |
在文件 ChannelSFTP.cpp 第 195 行定义.
|
overrideprivatevirtual |
重载 CChannelSSH .
在文件 ChannelSFTP.cpp 第 354 行定义.
|
overrideprivatevirtual |
重载 CChannelSSH .
在文件 ChannelSFTP.cpp 第 326 行定义.
| int CChannelSFTP::Process | ( | ) |
在文件 ChannelSFTP.cpp 第 44 行定义.
|
overrideprotectedvirtual |
重载 CChannel .
在文件 ChannelSFTP.cpp 第 312 行定义.
| int CChannelSFTP::RemoveDir | ( | const QString & | dir | ) |
在文件 ChannelSFTP.cpp 第 216 行定义.
| int CChannelSFTP::RemoveFile | ( | const QString & | file | ) |
在文件 ChannelSFTP.cpp 第 278 行定义.
| int CChannelSFTP::Rename | ( | const QString & | oldPath, |
| const QString & | newPath ) |
在文件 ChannelSFTP.cpp 第 292 行定义.
|
slot |
Get the directory asynchronously
在文件 ChannelSFTP.cpp 第 380 行定义.
|
slot |
在文件 ChannelSFTP.cpp 第 497 行定义.
|
slot |
在文件 ChannelSFTP.cpp 第 515 行定义.
|
overrideprotectedvirtual |
重载 CChannel .
在文件 ChannelSFTP.cpp 第 319 行定义.
|
private |
在文件 ChannelSFTP.h 第 107 行定义.
|
private |
在文件 ChannelSFTP.h 第 108 行定义.
|
private |
在文件 ChannelSFTP.h 第 109 行定义.