|
|
void | sigGetDir (CRemoteFileSystem *p, QVector< QSharedPointer< CRemoteFileSystem > > contents, bool bEnd) |
| |
|
void | sigFileTransferUpdate (QSharedPointer< CFileTransfer > f) |
| |
|
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
|
| |
|
| virtual qint64 | readData (char *data, qint64 maxlen) override |
| |
| virtual qint64 | writeData (const char *data, qint64 len) override |
| |
| | CChannel (QObject *parent=nullptr) |
| |
| virtual bool | isSequential () const override |
| |
|
| enum class | STATE {
OPEN
, READ
, CLOSE
, FINISH
,
ERR
} |
| |
Definition at line 13 of file ChannelSFTP.h.
◆ STATE
| enum class CChannelSFTP::STATE |
|
strongprivate |
◆ AsyncFile()
| int CChannelSFTP::AsyncFile |
( |
| ) |
|
|
private |
◆ AsyncReadDir()
| int CChannelSFTP::AsyncReadDir |
( |
| ) |
|
|
private |
◆ CleanFileAIO()
| int CChannelSFTP::CleanFileAIO |
( |
QSharedPointer< _AFILE > |
aio | ) |
|
|
private |
◆ GetDir()
Synchronize to get the directory.
- Parameters
-
- Returns
Definition at line 142 of file ChannelSFTP.cpp.
◆ GetFileNode()
| QSharedPointer< CRemoteFileSystem > CChannelSFTP::GetFileNode |
( |
const QString & |
szPath, |
|
|
sftp_attributes |
attributes |
|
) |
| |
|
private |
◆ MakeDir()
| int CChannelSFTP::MakeDir |
( |
const QString & |
dir | ) |
|
◆ OnClose()
| void CChannelSFTP::OnClose |
( |
| ) |
|
|
overrideprivatevirtual |
◆ OnOpen()
| int CChannelSFTP::OnOpen |
( |
ssh_session |
session | ) |
|
|
overrideprivatevirtual |
◆ Process()
| int CChannelSFTP::Process |
( |
| ) |
|
◆ readData()
| qint64 CChannelSFTP::readData |
( |
char * |
data, |
|
|
qint64 |
maxlen |
|
) |
| |
|
overrideprotectedvirtual |
◆ RemoveDir()
| int CChannelSFTP::RemoveDir |
( |
const QString & |
dir | ) |
|
◆ RemoveFile()
| int CChannelSFTP::RemoveFile |
( |
const QString & |
file | ) |
|
◆ Rename()
| int CChannelSFTP::Rename |
( |
const QString & |
oldPath, |
|
|
const QString & |
newPath |
|
) |
| |
◆ slotGetDir
◆ slotStartFileTransfer
| void CChannelSFTP::slotStartFileTransfer |
( |
QSharedPointer< CFileTransfer > |
f | ) |
|
|
slot |
◆ slotStopFileTransfer
| void CChannelSFTP::slotStopFileTransfer |
( |
QSharedPointer< CFileTransfer > |
f | ) |
|
|
slot |
◆ writeData()
| qint64 CChannelSFTP::writeData |
( |
const char * |
data, |
|
|
qint64 |
len |
|
) |
| |
|
overrideprotectedvirtual |
◆ m_SessionSftp
| sftp_session CChannelSFTP::m_SessionSftp |
|
private |
◆ m_vDirs
| QVector<QSharedPointer<DIR_READER> > CChannelSFTP::m_vDirs |
|
private |
◆ m_vFiles
| QVector<QSharedPointer<_AFILE> > CChannelSFTP::m_vFiles |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/FileTransfer/ChannelSFTP.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/FileTransfer/ChannelSFTP.cpp