Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: http\CEComFilter.h
Link against: http.lib

Class CEComFilter

class CEComFilter

Support

Supported from 7.0

Description

Base class for filter ECom plugins.

It provides minimal functionality to install and destroy filters specified by their UID or data type.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CEComFilterBase class for filter ECom plugins

Defined in CEComFilter:
InstallFilterL(), InstallFilterL(), iEcomDtorID, ~CEComFilter()

Inherited from CBase:
operator new()


Construction and destruction


~CEComFilter()

~CEComFilter();

Description

Destructor.

[Top]


Member Functions


InstallFilterL()

inline static CEComFilter* InstallFilterL(RHTTPSession aSession, const TUid aEComFilterUid);

Description

Installs a filter to the filter queue, specifying the filter by its implementation UID.

The returned pointer is not owned by the caller, as a filter must be self-destroying when it is unloaded.

Parameters

RHTTPSession aSession

A handle to the transport session

const TUid aEComFilterUid

The implementation UID of the plugin

Return value

CEComFilter*

Pointer to the newly installed plugin


InstallFilterL()

inline static CEComFilter* InstallFilterL(RHTTPSession aSession, const TDesC8& aEComFilterDataType);

Description

Installs a filter to the filter queue, specifying the filter by its datatype.

The returned pointer is not owned by the caller, as a filter must be self-destroying when it is unloaded.

Parameters

RHTTPSession aSession

A handle to the transport session

const TDesC8& aEComFilterDataType

A descriptor containing the datatype of the filter to load

Return value

CEComFilter*

Pointer to the newly installed plugin

[Top]


Internal members

Description

This is internal and not intended for use.


iEcomDtorID

private: TUid iEcomDtorID;

Description

This is internal and not intended for use.