#include <cel_broker.h>
List of all members.
Detailed Description
This class provides the default broker mechanism for cooperating with resources.
Member Function Documentation
Get the default ResourceBroker implementation.
This method actually does not create a new one but returns a shared instance. This is very useful when you don't need your own ResourceBroker instance.
- Returns:
- Pointer to the default ResourceBroker instance.
Create a new ResourceBroker instance.
- Parameters:
-
| inHttpManager | Pointer to a HttpManager instance. If you don't plan to use HTTP based resources, it can be NULL. |
Create a ResourceBroker.
This method internally calls HttpManager::create to create its own HttpManager instance. For more information, see HttpManager.
- Parameters:
-
| inUserAgentName | User Agent Name for your application. If this value is not specified (or NullString), it uses system default. |
| inCredentialProvider | Pointer to a class instance to get credential information. If it is NULL, no authentication mechanism is supported by the newly created ResourceBroker instance. |
- Returns:
- Pointer to the newly created ResourceBroker instance.
| virtual AutoPtr<Storage> Celartem::ResourceBroker::locateFile |
( |
const String & |
inUriOrFileName |
) |
[pure virtual] |
This method locates the resource and returns a pointer to read-only Storage instance.
- Parameters:
-
| inUriOrFileName | URI or local file name of the resource. The default implementation can deal with URIs starts from http, https, file or local file names. |
- Returns:
- Pointer to the Storage instance of the specified resource.
The documentation for this class was generated from the following file: