|
virtual void | connectivityStateChanged (Sync::ConnectivityType aType, bool aState) |
|
void | onProcessError (QProcess::ProcessError error) |
|
void | onProcessFinished (int exitCode, QProcess::ExitStatus exitStatus) |
|
void | onError (QString aProfileName, QString aMessage, int aErrorCode) |
|
void | onSuccess (QString aProfileName, QString aMessage) |
|
virtual void | connectivityStateChanged (Sync::ConnectivityType aType, bool aState)=0 |
| Slot that is invoked by sync framework when changes occur in connectivity domains. More...
|
|
|
void | newSession (const QString &aDestination) |
| Signal sent when a new sync session is received by the server. More...
|
|
void | transferProgress (const QString &aProfileName, Sync::TransferDatabase aDatabase, Sync::TransferType aType, const QString &aMimeType, int aCommittedItems) |
| Emitted when progress has been made in synchronization in transferring items between local and remote database. More...
|
|
void | error (const QString &aProfileName, const QString &aMessage, int aErrorCode) |
| Emitted when error has occurred in synchronization and it cannot be continued. More...
|
|
void | success (const QString &aProfileName, const QString &aMessage) |
| Emitted when synchronization has been finished successfully. More...
|
|
void | accquiredStorage (const QString &aMimeType) |
| Emitted when a storage is requested and accquired. More...
|
|
void | syncProgressDetail (const QString &aProfileName, int aProgressDetail) |
| Emitted during Sync Progress to indicate the detail of the current ongoing sync. More...
|
|
Profile | iProfile |
| Profile Object that the server plugin operates on.
|
|
PluginCbInterface * | iCbInterface |
| Pointer to synchronizer.
|
|
QMap< QString, ReceivedItemDetails > | receivedItems |
|
ButeoPluginIface * | iOopPluginIface |
|
bool OOPServerPlugin::cleanUp |
( |
| ) |
|
|
virtual |
Cleans up any sync related stuff (e.g sync anchors etc) when the profile is deleted.
Derived plug-in should implement this function and perform any cleanup operations if required when the profile is deleted
Implements Buteo::SyncPluginBase.
bool OOPServerPlugin::init |
( |
| ) |
|
|
virtual |
Initializes the plugin.
It is recommended that the plugin should do not do any thread insecure initializations inside constructor, instead it should be done inside this method.
- Returns
- True on success, otherwise false
Implements Buteo::SyncPluginBase.
void OOPServerPlugin::resume |
( |
| ) |
|
|
virtual |
bool OOPServerPlugin::startListen |
( |
| ) |
|
|
virtual |
Start listening for sync requests.
Init must me called before this function.
- Returns
- True on success, otherwise false
Implements Buteo::ServerPlugin.
void OOPServerPlugin::stopListen |
( |
| ) |
|
|
virtual |
void OOPServerPlugin::suspend |
( |
| ) |
|
|
virtual |
Suspend activity.
Implement this if upon being asked to suspend for some reason, any ongoing activity can be suspended
Implements Buteo::ServerPlugin.
bool OOPServerPlugin::uninit |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: