Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mhttpsessioneventcallback.h>

Class MHTTPSessionEventCallback

class MHTTPSessionEventCallback;

Description

The per-session callback for receiving session event callbacks.

Members

Defined in MHTTPSessionEventCallback:


Member functions


MHFSessionRunL(const THTTPSessionEvent &)

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(TInt,const THTTPSessionEvent &)

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.