Server interface.
More...
#include <BackendServer.h>
|
| virtual void | slotDisconnect (const QString &szIp, const quint16 port)=0 |
| | Disconnect client.
|
| |
|
| 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
|
| |
| void | sigRunning () |
| | Emitted when the plugin is successfully started.
|
| |
| void | sigStop () |
| | Notify the user to stop.
|
| |
| void | sigFinished () |
| | Successful stopped signal.
|
| |
|
void | sigError (const int nError, const QString &szError=QString()) |
| | Triggered when an error is generated.
|
| |
| void | sigInformation (const QString &szInfo) |
| | Triggering from a background thread displays information in the main thread without blocking the background thread.
|
| |
| void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
| | Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread.
|
| |
| void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
| | Block background threads and display message dialogs in foreground threads (QMessageBox)
|
| |
| void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
| | Block background threads and display input dialogs in foreground threads (QInputDialog)
|
| |
| void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
| | Blocks the background thread and displays the window in the foreground thread.
|
| |
|
void | sigSecurityLevel (CSecurityLevel::Levels level) |
| | Triggered when the security level changes.
|
| |
|
| enum class | OnInitReturnValue { Fail = -1
, Success = 0
, UseOnProcess = Success
, NotUseOnProcess = 1
} |
| |
| virtual void | slotTimeOut () |
| | a non-Qt event loop (that is, normal loop processing), It call OnProcess(), and start timer.
|
| |
| virtual OnInitReturnValue | OnInit ()=0 |
| | Initialization.
|
| |
| virtual int | OnClean ()=0 |
| | Clean.
|
| |
| virtual int | OnProcess () |
| | Specific operation processing of plug-in.
|
| |
Server interface.
It is implemented by the Protocol plugin.
- See also
- COperateServer CFrmViewServer
Definition at line 19 of file BackendServer.h.
◆ ~CBackendServer()
| CBackendServer::~CBackendServer |
( |
| ) |
|
|
virtual |
◆ SetConnect()
◆ sigConnected
| void CBackendServer::sigConnected |
( |
const QString & |
szIp, |
|
|
const quint16 |
port |
|
) |
| |
|
signal |
emit when new client connected
- Parameters
-
◆ sigDisconnected
| void CBackendServer::sigDisconnected |
( |
const QString & |
szIp, |
|
|
const quint16 |
port |
|
) |
| |
|
signal |
emit when the client disconnected
- Parameters
-
◆ slotDisconnect
| virtual void CBackendServer::slotDisconnect |
( |
const QString & |
szIp, |
|
|
const quint16 |
port |
|
) |
| |
|
pure virtualslot |
Disconnect client.
- Parameters
-
The documentation for this class was generated from the following files: