TClientFilter Class Reference

class TClientFilter : public MHTTPFilter

Inherits from

Member Functions Documentation

MHFLoad(RHTTPSession, THTTPFilterHandle)

voidMHFLoad(RHTTPSessionaSession,
THTTPFilterHandleaHandle
)[virtual]

MHTTFilter

Parameters

RHTTPSession aSession
THTTPFilterHandle aHandle

MHFRunError(TInt, RHTTPTransaction, const THTTPEvent &)

TInt MHFRunError(TIntaError,
RHTTPTransactionaTransaction,
const THTTPEvent &aEvent
)[virtual]

Called when RunL leaves from a transaction event. This works in the same way as CActve::RunError; return KErrNone if you have handled the error. If you don't completely handle the error, a panic will occur.

Parameters

TInt aErrorThe leave code that RunL left with.
RHTTPTransaction aTransactionThe transaction that was being processed.
const THTTPEvent & aEventThe Event that was being processed.

MHFRunL(RHTTPTransaction, const THTTPEvent &)

voidMHFRunL(RHTTPTransactionaTransaction,
const THTTPEvent &aEvent
)[virtual]

Called when the filter's registration conditions are satisfied for events that occur on a transaction. Any Leaves must be handled by the appropriate MHFRunError. Note that this function is not allowed to leave if called with certain events. THTTPEvent Most Filters will be either a transaction filter or a session event filter. Default implementations of all MHTTPFilterBase functions are provided so filter implementors only have to override the functions they need

Parameters

RHTTPTransaction aTransactionThe transaction that the event has occurred on.
const THTTPEvent & aEventThe event that has occurred.

MHFSessionRunError(TInt, const THTTPSessionEvent &)

TInt MHFSessionRunError(TIntaError,
const THTTPSessionEvent &aEvent
)[virtual]

Called when MHFRunL leaves from a session event. This works in the same way as CActve::RunError If you don't completely handle the error, a panic will occur.

Parameters

TInt aErrorThe leave code that RunL left with.
const THTTPSessionEvent & aEventThe Event that was being processed.

MHFSessionRunL(const THTTPSessionEvent &)

voidMHFSessionRunL(const THTTPSessionEvent &aEvent)[virtual]

Called when the filters registration conditions are satisfied for events that occur on the session. Any leaves must be handled by the appropriate MHFRunError.

Parameters

const THTTPSessionEvent & aEventThe session event that has occured.

MHFUnload(RHTTPSession, THTTPFilterHandle)

voidMHFUnload(RHTTPSessionaSession,
THTTPFilterHandleaHandle
)[virtual]

MHTTFilter

Parameters

RHTTPSession aSession
THTTPFilterHandle aHandle

SetSessionEventCallback(MHTTPSessionEventCallback *)

voidSetSessionEventCallback(MHTTPSessionEventCallback *aSessionEventCallback)[inline]

Parameters

MHTTPSessionEventCallback * aSessionEventCallback

Member Data Documentation

MHTTPSessionEventCallback * iSessionEventCallback

MHTTPSessionEventCallback *iSessionEventCallback[private]