CEComFilter Class Reference

class CEComFilter : public CBase

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.

Inherits from

Constructor & Destructor Documentation

~CEComFilter()

~CEComFilter ( ) [inline]
Intended Usage: Virtual destructor
Pre-condition
The object identified by the destructor key in iEcomDtorID exists
Post-condition
The object is destroyed

Member Functions Documentation

InstallFilterL(RHTTPSession, const TUid)

CEComFilter * InstallFilterL ( RHTTPSession aSession,
const TUid aEComFilterUid
) [static, inline]
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

RHTTPSession aSession A handle to the transport session
const TUid aEComFilterUid The implementation UID of the plugin

InstallFilterL(RHTTPSession, const TDesC8 &)

CEComFilter * InstallFilterL ( RHTTPSession aSession,
const TDesC8 & aEComFilterDataType
) [static, inline]
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

RHTTPSession aSession A handle to the transport session
const TDesC8 & aEComFilterDataType A descriptor containing the datatype of the filter to load

Member Data Documentation

TUid iEcomDtorID

TUid iEcomDtorID [private]