MHTTPTransactionCallback Class Reference

class MHTTPTransactionCallback

The per-transaction callback for receiving HTTP events.

Public Member Functions
TInt MHFRunError(TInt, RHTTPTransaction, const THTTPEvent &)
voidMHFRunL(RHTTPTransaction, const THTTPEvent &)

Member Functions Documentation

MHFRunError(TInt, RHTTPTransaction, const THTTPEvent &)

TInt MHFRunError(TIntaError,
RHTTPTransactionaTransaction,
const THTTPEvent &aEvent
)[pure 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
)[pure virtual]
Called when the filter's registration conditions are satisfied for events that occur on a transaction. Note that this function is not allowed to leave if called with certain events. THTTPEvent
leave
Any Leaves must be handled by the appropriate MHFRunError.

Parameters

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