|
| static int | cbAuthCallback (const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata) |
| |
|
|
void | sigConnected () |
| | 当插件连接成功后触发。仅由插件触发
|
| |
|
void | sigDisconnect () |
| | 通知用户断开连接。仅由插件触发。 当从插件中需要要断开连接时触发。例如:对端断开连接、重置连接或者连接出错。
|
| |
| void | sigDisconnected () |
| | 断开连接成功信号。仅由插件触发
|
| |
|
void | sigError (const int nError, const QString &szError=QString()) |
| | 当有错误产生时触发
|
| |
| void | sigInformation (const QString &szInfo) |
| | 从后台线程中触发在主线程中显示信息,不阻塞后台线程
|
| |
| void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
| | 从后台线程中触发在主线程中显示消息对话框(QMessageBox),不阻塞后台线程
|
| |
| void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
| | 阻塞后台线程,并在前台线程中显示消息对话框(QMessageBox)
|
| |
| void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
| | 阻塞后台线程,并在前台线程中显示输入对话框 (QInputDialog)
|
| |
| void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
| | 阻塞后台线程,并在前台线程中显示窗口。
|
| |
| enum class | OnInitReturnValue { Fail = -1
, Success = 0
, UseOnProcess = Success
, NotUseOnProcess = 1
} |
| |
| virtual void | slotTimeOut () |
| | 一个非 Qt 事件处理,它调用 OnProcess(),并根据其返回值开始新的定时器。 如果 CConnect 没有一个非 Qt 事件循环(就是普通的循环处理), 可以重载它,或者 OnInit() 返回值大于 0
|
| |
◆ CConnectSSH()
| CConnectSSH::CConnectSSH |
( |
CConnecterSSH * |
pConnecter, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ Authenticate()
| int CConnectSSH::Authenticate |
( |
ssh_session |
session | ) |
|
|
private |
◆ cbAuthCallback()
| int CConnectSSH::cbAuthCallback |
( |
const char * |
prompt, |
|
|
char * |
buf, |
|
|
size_t |
len, |
|
|
int |
echo, |
|
|
int |
verify, |
|
|
void * |
userdata |
|
) |
| |
|
staticprivate |
◆ error()
| void CConnectSSH::error |
( |
ssh_session |
session | ) |
|
|
private |
◆ GetPassword()
| int CConnectSSH::GetPassword |
( |
const char * |
prompt, |
|
|
char * |
buf, |
|
|
size_t |
len, |
|
|
int |
echo, |
|
|
int |
verify |
|
) |
| |
|
private |
◆ Initialize
| int CConnectSSH::Initialize |
( |
| ) |
|
|
virtualslot |
◆ OnClean
| int CConnectSSH::OnClean |
( |
| ) |
|
|
overridevirtualslot |
◆ OnInit
| CConnect::OnInitReturnValue CConnectSSH::OnInit |
( |
| ) |
|
|
overridevirtualslot |
◆ OnProcess
| int CConnectSSH::OnProcess |
( |
| ) |
|
|
overridevirtualslot |
◆ SetParameter()
| int CConnectSSH::SetParameter |
( |
void * |
pPara | ) |
|
|
protectedvirtual |
◆ slotClipBoardChanged
| void CConnectSSH::slotClipBoardChanged |
( |
| ) |
|
|
overridevirtualslot |
◆ slotReceivedData
| void CConnectSSH::slotReceivedData |
( |
const QString & |
text | ) |
|
|
slot |
◆ slotSendData
| void CConnectSSH::slotSendData |
( |
const char * |
buf, |
|
|
int |
len |
|
) |
| |
|
slot |
◆ VerifyKnownhost()
| int CConnectSSH::VerifyKnownhost |
( |
ssh_session |
session | ) |
|
|
private |
◆ connector_err
| ssh_connector CConnectSSH::connector_err |
|
private |
◆ connector_in
| ssh_connector CConnectSSH::connector_in |
|
private |
◆ connector_out
| ssh_connector CConnectSSH::connector_out |
|
private |
◆ m_pCb
| struct ssh_callbacks_struct* CConnectSSH::m_pCb |
|
private |
◆ m_pChannel
| ssh_channel CConnectSSH::m_pChannel |
|
private |
◆ m_pConnecter
◆ m_pEvent
| ssh_event CConnectSSH::m_pEvent |
|
private |
◆ m_pPara
◆ m_pPcapFile
| ssh_pcap_file CConnectSSH::m_pPcapFile |
|
private |
◆ m_pSession
| ssh_session CConnectSSH::m_pSession |
|
private |
该类的文档由以下文件生成:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/LibSSH/ConnectSSH.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Plugins/LibSSH/ConnectSSH.cpp