Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: http\mhttpsessioneventcallback.h

Class MHTTPSessionEventCallback

class MHTTPSessionEventCallback

Support

Supported from 7.0

Description

Abstract interface for a session event callback handler.

Defined in MHTTPSessionEventCallback:
MHFSessionRunError(), MHFSessionRunL()


MHFSessionRunL()

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

Description

Called when the client's registration conditions are satisfied for events that occur on the session.

Parameters

const THTTPSessionEvent& aEvent

The session event that occurred

[Top]


MHFSessionRunError()

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

Description

Called when a leave occurs in handling a session event.

The function is similiar in principle to CActive::RunError().

Parameters

TInt aError

The leave code

const THTTPSessionEvent& aEvent

The event that was being processed.

Return value

TInt

KErrNone if the error has been handled, or the code of the continuing error otherwise