GlobalUploaderDownloader Class Reference

The class to wake all sleeping uploader and downloader. More...

Static Public Member Functions

static void stopAllDataExchanges ()
 Stops all data exchanges.

Friends

class __DataExchange_internal::QueueHolder
 QueueHolder is friend to access private members.

Detailed Description

The class to wake all sleeping uploader and downloader.

This class is a singleton and has only one public static function, namely the stopAllDataExchanges() function. Call this function to wake up all sleeping uploaders downloaders and stop all data exchanges. The function only influences uploaders and downloaders that have been created before it is called. All attempts to get data to upload/download after this function is called will return NULL (see note in dataexchange.h description). It is not possible to resume exchanges, you must destroy uploaders and downloaders and then re-create them.

Note
All functions in this class (both public and private) are thread-safe

Definition at line 1002 of file dataexchange.h.

Member Function Documentation

void stopAllDataExchanges ( )
static

Stops all data exchanges.

See class description for more information

Definition at line 27 of file dataexchange.cpp.

Friends And Related Function Documentation

QueueHolder is friend to access private members.

Definition at line 1064 of file dataexchange.h.


The documentation for this class was generated from the following files: