📄 class_m_web_client_observer.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MWebClientObserver Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"><tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>S60 3rd Edition SDK FP1 for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>MWebClientObserver Class Reference</h1><!-- doxytag: class="MWebClientObserver" --><code>#include <<a class="el" href="_web_client_engine_8h-source.html">WebClientEngine.h</a>></code><p>Inherited by <a class="el" href="class_c_web_client_container.html">CWebClientContainer</a>.<p>Inheritance diagram for MWebClientObserver:<p><center><img src="class_m_web_client_observer__inherit__graph.png" border="0" usemap="#_m_web_client_observer__inherit__map" alt="Inheritance graph"></center><map name="_m_web_client_observer__inherit__map"><area href="class_c_web_client_container.html" shape="rect" coords="7,167,199,583" alt=""></map><a href="class_m_web_client_observer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>MWebClientObserver <a class="el" href="class_c_web_client_engine.html">CWebClientEngine</a> passes events and responses body data with this interface. An instance of this class must be provided for construction of <a class="el" href="class_c_web_client_engine.html">CWebClientEngine</a>. <p><p>Definition at line <a class="el" href="_web_client_engine_8h-source.html#l00056">56</a> of file <a class="el" href="_web_client_engine_8h-source.html">WebClientEngine.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_web_client_observer.html#ba45586e3b6414e9a001aa362b83f6d3">ClientEvent</a> (const TDesC &aEventDescription)=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_web_client_observer.html#7d090b7f3f592086c7c057ff92d0e69a">ClientHeaderReceived</a> (const TDesC &aHeaderData)=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_web_client_observer.html#50e49839449e3e1580d570d67eb956e8">ClientBodyReceived</a> (const TDesC8 &aBodyData)=0</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="ba45586e3b6414e9a001aa362b83f6d3"></a><!-- doxytag: member="MWebClientObserver::ClientEvent" ref="ba45586e3b6414e9a001aa362b83f6d3" args="(const TDesC &aEventDescription)=0" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual void MWebClientObserver::ClientEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname1" valign="top" nowrap> <em>aEventDescription</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_m_web_client_observer.html#ba45586e3b6414e9a001aa362b83f6d3">ClientEvent()</a> Called when event occurs in <a class="el" href="class_c_web_client_engine.html">CWebClientEngine</a>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aEventDescription,:</em> </td><td>A event in textual format, e.g. "Transaction Successful" </td></tr> </table></dl><p>Implemented in <a class="el" href="class_c_web_client_container.html#bb15cfcc42cfccd15b6a500010ed0691">CWebClientContainer</a>.<p>Referenced by <a class="el" href="_web_client_engine_8cpp-source.html#l00277">CWebClientEngine::CancelTransactionL()</a>, <a class="el" href="_web_client_engine_8cpp-source.html#l00224">CWebClientEngine::HandleRunErrorL()</a>, <a class="el" href="_web_client_engine_8cpp-source.html#l00240">CWebClientEngine::IssueHTTPGetL()</a>, and <a class="el" href="_web_client_engine_8cpp-source.html#l00311">CWebClientEngine::MHFRunL()</a>. </td> </tr></table><a class="anchor" name="7d090b7f3f592086c7c057ff92d0e69a"></a><!-- doxytag: member="MWebClientObserver::ClientHeaderReceived" ref="7d090b7f3f592086c7c057ff92d0e69a" args="(const TDesC &aHeaderData)=0" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual void MWebClientObserver::ClientHeaderReceived </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC & </td> <td class="mdname1" valign="top" nowrap> <em>aHeaderData</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_m_web_client_observer.html#7d090b7f3f592086c7c057ff92d0e69a">ClientHeaderReceived()</a> Called when HTTP header is received. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aHeaderData,:</em> </td><td>Header field name and value </td></tr> </table></dl><p>Implemented in <a class="el" href="class_c_web_client_container.html#952f58b3b079847c51533ccdf2f7ddc1">CWebClientContainer</a>. </td> </tr></table><a class="anchor" name="50e49839449e3e1580d570d67eb956e8"></a><!-- doxytag: member="MWebClientObserver::ClientBodyReceived" ref="50e49839449e3e1580d570d67eb956e8" args="(const TDesC8 &aBodyData)=0" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual void MWebClientObserver::ClientBodyReceived </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TDesC8 & </td> <td class="mdname1" valign="top" nowrap> <em>aBodyData</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_m_web_client_observer.html#50e49839449e3e1580d570d67eb956e8">ClientBodyReceived()</a> Called when a part of the HTTP body is received. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aBodyData,:</em> </td><td>Part of the body data received. (e.g. part of the received HTML page) </td></tr> </table></dl><p>Implemented in <a class="el" href="class_c_web_client_container.html#0b7e6843d5fd6c0f212380e90dc47302">CWebClientContainer</a>.<p>Referenced by <a class="el" href="_web_client_engine_8cpp-source.html#l00311">CWebClientEngine::MHFRunL()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="_web_client_engine_8h-source.html">WebClientEngine.h</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -