S60 3rd Edition SDK for Symbian OS
Example Applications Guide

MWebClientObserver Class Reference

#include <WebClientEngine.h>

Inheritance diagram for MWebClientObserver:

CWebClientContainer List of all members.

Public Member Functions

virtual void ClientEvent (const TDesC &aEventDescription)=0
virtual void ClientHeaderReceived (const TDesC &aHeaderData)=0
virtual void ClientBodyReceived (const TDesC8 &aBodyData)=0

Detailed Description

MWebClientObserver CWebClientEngine passes events and responses body data with this interface. An instance of this class must be provided for construction of CWebClientEngine.

Definition at line 56 of file WebClientEngine.h.


Member Function Documentation

virtual void MWebClientObserver::ClientEvent (  const TDesC &  aEventDescription  )  [pure virtual]
 

ClientEvent() Called when event occurs in CWebClientEngine.

Parameters:
aEventDescription,: A event in textual format, e.g. "Transaction Successful"

Implemented in CWebClientContainer.

virtual void MWebClientObserver::ClientHeaderReceived (  const TDesC &  aHeaderData  )  [pure virtual]
 

ClientHeaderReceived() Called when HTTP header is received.

Parameters:
aHeaderData,: Header field name and value

Implemented in CWebClientContainer.

virtual void MWebClientObserver::ClientBodyReceived (  const TDesC8 &  aBodyData  )  [pure virtual]
 

ClientBodyReceived() Called when a part of the HTTP body is received.

Parameters:
aBodyData,: Part of the body data received. (e.g. part of the received HTML page)

Implemented in CWebClientContainer.


© Nokia 2006

Back to top