Thread for server plugin.
More...
#include <ServerThread.h>
|
void | initError (const QString &aProfileName, const QString &aMessage, int aErrorCode) |
| Emitted when synchronization cannot be started due to an error in plugin initialization. More...
|
|
|
virtual void | run () |
| overriding method of QThread::run
|
|
Thread for server plugin.
ServerThread::ServerThread |
( |
| ) |
|
ServerThread::~ServerThread |
( |
| ) |
|
|
virtual |
Returns plugin that this thread is running.
- Returns
- Plugin
QString ServerThread::getProfileName |
( |
| ) |
const |
Returns profile that this thread is running.
- Returns
- Profile name
void Buteo::ServerThread::initError |
( |
const QString & |
aProfileName, |
|
|
const QString & |
aMessage, |
|
|
int |
aErrorCode |
|
) |
| |
|
signal |
Emitted when synchronization cannot be started due to an error in plugin initialization.
- Parameters
-
aProfileName | Name of the profile being synchronized |
aMessage | Message data related to error event |
aErrorCode | Error code |
bool ServerThread::startThread |
( |
ServerPlugin * |
aServerPlugin | ) |
|
Starts server thread.
- Parameters
-
aServerPlugin | Server plug-in to run. The plug-in is owned by the caller and must not be deleted while the thread is running. |
- Returns
- True on success, otherwise false
void ServerThread::stopThread |
( |
| ) |
|
The documentation for this class was generated from the following files: