CEComFilter Class Reference
#include
<mw/http/cecomfilter.h>
class CEComFilter : public CBase |
Detailed Description
This class serves as the base class for ECom filter plugins. It provides minimal functionality to simply install and destroy filters specified by their UID or data type. The RHTTPSession passed in is passed onto the filter as a TAny* pointer and therefore must be casted back to an RHTTPSession pointer by the filter.
Constructor & Destructor Documentation
~CEComFilter ( )
Intended Usage: Virtual destructor
- Pre-condition
- The object identified by the destructor key in iEcomDtorID exists
- Post-condition
- The object is destroyed
Member Function Documentation
InstallFilterL ( RHTTPSession, const TUid )
Intended Usage: This method is used to install filters to the filter queue. The implementation UID of the filter plugin is passed to identify the plugin that is required. The returned pointer is not owned as the filters must be self-destroying when they are unloaded.
- Pre-condition
- The session had already been setup
- Post-condition
- The filter(s) have been installed
Parameters |
---|
aSession | A handle to the transport session |
aEComFilterUid | The implementation UID of the plugin |
- Return Value
- Pointer to the newly installed plugin
InstallFilterL ( RHTTPSession, const TDesC8 & )
Intended Usage: This method is used to install filters to the filter queue. The implementation UID of the filter plugin is passed to identify the plugin that is required. The returned pointer is not owned as the filters must be self-destroying when they are unloaded.
- Pre-condition
- The session had already been setup
- Post-condition
- The filter(s) have been installed
Parameters |
---|
aSession | A handle to the transport session |
aEComFilterDataType | A descriptor containing the datatype of the filter to load |
- Return Value
- Pointer to the newly installed plugin