QwuiResourceProviderServer Class Reference
this class holds currently alive sessions and creates new ones on demand. This class is used to hold sessions and manage their lifetimes. A new session can be created with newSession(). With takeSession() and releaseSession() you can take the ownership of a session for your specific handling and release it once you are finished.
More...
#include <qwuiresourceproviderserver.h>
List of all members.
Detailed Description
this class holds currently alive sessions and creates new ones on demand. This class is used to hold sessions and manage their lifetimes. A new session can be created with newSession(). With takeSession() and releaseSession() you can take the ownership of a session for your specific handling and release it once you are finished.
Constructor & Destructor Documentation
QwuiResourceProviderServer::QwuiResourceProviderServer |
( |
QObject * |
parent = NULL |
) |
|
QwuiResourceProviderServer::~QwuiResourceProviderServer |
( |
|
) |
[virtual] |
Member Function Documentation
void QwuiResourceProviderServer::cleanupSessions |
( |
|
) |
[private, slot] |
void QwuiResourceProviderServer::customEvent |
( |
QEvent * |
event |
) |
[protected, virtual] |
int QwuiResourceProviderServer::defaultSessionLifeTime |
( |
|
) |
const |
The default session lifetime is 30 min.
- Returns:
- the session lifetime in seconds.
void QwuiResourceProviderServer::pullToCurrentThread |
( |
QObject * |
obj |
) |
[private] |
- Returns:
- the main resource provider factory.
void QwuiResourceProviderServer::setDefaultSessionLifeTime |
( |
int |
secs |
) |
|
- Parameters:
-
| secs | the session lifetime in seconds. |
- Parameters:
-
| factory | the main resource provider factory. |
bool QwuiResourceProviderServer::start |
( |
|
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: