Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: mhttpsessioneventcallback.h

Class MHTTPSessionEventCallback

class MHTTPSessionEventCallback;

Description

The per-session callback for receiving session event callbacks.

Members

Defined in MHTTPSessionEventCallback:
MHFSessionRunError(), MHFSessionRunL()


Member functions


MHFSessionRunL()

virtual void MHFSessionRunL(const THTTPSessionEvent &aEvent)=0;

Description

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 &aEvent

The session event that has occured.


MHFSessionRunError()

virtual TInt MHFSessionRunError(TInt aError, const THTTPSessionEvent &aEvent)=0;

Description

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 aError

The leave code that RunL left with.

const THTTPSessionEvent &aEvent

The Event that was being processed.

Return value

TInt

KErrNone if the error has been cancelled or the code of the continuing error otherwise.