|
玉兔远程控制 0.1.0-bate10
|


Public 槽 | |
| void | slotDisconnect (const QString &szIp, const quint16 port) override |
Public 槽 继承自 CBackendServer | |
| virtual void | slotDisconnect (const QString &szIp, const quint16 port)=0 |
| Disconnect client | |
Public 成员函数 | |
| CBackendFtpServer (COperateFtpServer *pOperate=nullptr, bool bStopSignal=true) | |
| virtual bool | onFilter (QSslSocket *socket) override |
Public 成员函数 继承自 CBackendServer | |
| CBackendServer (COperateServer *pOperate=nullptr, bool bStopSignal=true) | |
Public 成员函数 继承自 CBackend | |
| CBackend (COperate *pOperate=nullptr, bool bStopSignal=true) | |
| CBackend | |
| virtual int | Start () |
| 开始。根据 OnInit() 返回值来决定是否开始定时器来支持非 qt 事件 | |
| virtual int | Stop () |
| 停止 | |
| virtual int | WakeUp () |
| 唤醒后台线程。 | |
Protected 成员函数 | |
| virtual OnInitReturnValue | OnInit () override |
| 初始化 | |
| virtual int | OnClean () override |
| 清理 | |
Protected 成员函数 继承自 CBackend | |
| virtual int | OnProcess () |
| 具体操作处理 | |
Private 槽 | |
| void | slotDisconnected () |
Private 属性 | |
| COperateFtpServer * | m_pOperate |
| CParameterFtpServer * | m_pPara |
| CFtpServer * | m_pServer |
| QList< QSslSocket * > | m_Sockets |
额外继承的成员函数 | |
信号 继承自 CBackendServer | |
| void | sigConnected (const QString &szIp, const quint16 port) |
| emit when new client connected | |
| void | sigDisconnected (const QString &szIp, const quint16 port) |
| emit when the client disconnected | |
信号 继承自 CBackend | |
| void | sigRunning () |
| 当插件开始成功后触发。仅由插件触发 | |
| void | sigStop () |
| 需要通知用户停止时触发。仅由插件触发。 当从插件中需要停止时触发。例如:对端断开连接、重置连接或者连接出错。 | |
| void | sigFinished () |
| 停止成功信号。仅由插件触发 | |
| 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) |
| 阻塞后台线程,并在前台线程中显示窗口。 | |
| void | sigSecurityLevel (CSecurityLevel::Levels level) |
| 当安全级别改变时触发 | |
Protected 类型 继承自 CBackend | |
| enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
Protected 槽 继承自 CBackend | |
| virtual void | slotTimeOut () |
| 一个非 Qt 事件处理,它调用 OnProcess(),并根据其返回值开始新的定时器。 如果是不是一个非 Qt 事件循环(就是普通的循环处理), 可以重载它,或者 OnInit() 返回值 OnInitReturnValue::NotUseOnProcess | |
在文件 BackendFtpServer.h 第 10 行定义.
|
virtual |
在文件 BackendFtpServer.cpp 第 20 行定义.
|
overrideprotectedvirtual |
|
overridevirtual |
在文件 BackendFtpServer.cpp 第 130 行定义.
|
overrideprotectedvirtual |
初始化
实现了 CBackend.
在文件 BackendFtpServer.cpp 第 41 行定义.
|
overrideslot |
在文件 BackendFtpServer.cpp 第 197 行定义.
|
privateslot |
在文件 BackendFtpServer.cpp 第 185 行定义.
|
private |
在文件 BackendFtpServer.h 第 32 行定义.
|
private |
在文件 BackendFtpServer.h 第 33 行定义.
|
private |
在文件 BackendFtpServer.h 第 34 行定义.
|
private |
在文件 BackendFtpServer.h 第 35 行定义.