Nokia N97 SDK
Example Applications Guide

MWebClientObserver Class Reference

#include <WebClientEngine.h>

Inheritance diagram for MWebClientObserver:

CWebClientContainer List of all members.

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 57 of file WebClientEngine.h.


Public Member Functions

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


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.

Referenced by CWebClientEngine::CancelTransactionL(), CWebClientEngine::HandleRunErrorL(), CWebClientEngine::IssueHTTPGetL(), and CWebClientEngine::MHFRunL().

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.

Referenced by CWebClientEngine::MHFRunL().


The documentation for this class was generated from the following file:

© Nokia 2009

Back to top