|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
5 <title>TB9.2 Example Applications: MTransactionObserver Class Reference</title> |
|
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
|
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <div class="contents"> |
|
12 <h1>MTransactionObserver Class Reference</h1><!-- doxytag: class="MTransactionObserver" --> |
|
13 <p>Inherited by <a class="el" href="class_c_task_manager_app_view.html">CTaskManagerAppView</a>.</p> |
|
14 |
|
15 <p><a href="class_m_transaction_observer-members.html">List of all members.</a></p> |
|
16 <table border="0" cellpadding="0" cellspacing="0"> |
|
17 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
|
18 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#a81df9d3e254a9f0b09d04fedbd32f063">OpeningConnectionL</a> ()=0</td></tr> |
|
19 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#abdb774e645bfd76beacc43ac3f033219">SuccessL</a> (const <a class="el" href="class_c_response.html">CResponse</a> &aResponse)=0</td></tr> |
|
20 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#a781e451fe90e8678793278279d37d5f0">FailedL</a> (const TInt &aError)=0</td></tr> |
|
21 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#acc250172c2e57609e2993bfea1214d37">ConnectingToServerL</a> (const TBool &aLoadingTasks)=0</td></tr> |
|
22 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#a181d92273f185c382c95eb84deaf877c">CancelledL</a> ()=0</td></tr> |
|
23 <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_transaction_observer.html#ae487a3f2e816de373c20da0b56edc407">ErrorL</a> (const TDesC &aErrorMsg)=0</td></tr> |
|
24 </table> |
|
25 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
|
26 <p>A mixin class for notifying about transactions. </p> |
|
27 |
|
28 <p>Definition at line <a class="el" href="_task_manager_engine_8h_source.html#l00034">34</a> of file <a class="el" href="_task_manager_engine_8h_source.html">TaskManagerEngine.h</a>.</p> |
|
29 <hr/><h2>Member Function Documentation</h2> |
|
30 <a class="anchor" id="a81df9d3e254a9f0b09d04fedbd32f063"></a><!-- doxytag: member="MTransactionObserver::OpeningConnectionL" ref="a81df9d3e254a9f0b09d04fedbd32f063" args="()=0" --> |
|
31 <div class="memitem"> |
|
32 <div class="memproto"> |
|
33 <table class="memname"> |
|
34 <tr> |
|
35 <td class="memname">virtual void MTransactionObserver::OpeningConnectionL </td> |
|
36 <td>(</td> |
|
37 <td class="paramname"></td> |
|
38 <td> ) </td> |
|
39 <td><code> [pure virtual]</code></td> |
|
40 </tr> |
|
41 </table> |
|
42 </div> |
|
43 <div class="memdoc"> |
|
44 <p>Called when a GPRS connection is being opened. </p> |
|
45 |
|
46 </div> |
|
47 </div> |
|
48 <a class="anchor" id="abdb774e645bfd76beacc43ac3f033219"></a><!-- doxytag: member="MTransactionObserver::SuccessL" ref="abdb774e645bfd76beacc43ac3f033219" args="(const CResponse &aResponse)=0" --> |
|
49 <div class="memitem"> |
|
50 <div class="memproto"> |
|
51 <table class="memname"> |
|
52 <tr> |
|
53 <td class="memname">virtual void MTransactionObserver::SuccessL </td> |
|
54 <td>(</td> |
|
55 <td class="paramtype">const <a class="el" href="class_c_response.html">CResponse</a> & </td> |
|
56 <td class="paramname"> <em>aResponse</em></td> |
|
57 <td> ) </td> |
|
58 <td><code> [pure virtual]</code></td> |
|
59 </tr> |
|
60 </table> |
|
61 </div> |
|
62 <div class="memdoc"> |
|
63 <p>Called when aa transaction has successfully finished. </p> |
|
64 <dl><dt><b>Parameters:</b></dt><dd> |
|
65 <table border="0" cellspacing="2" cellpadding="0"> |
|
66 <tr><td valign="top"></td><td valign="top"><em>aResponse</em> </td><td>contains the response received from the server. </td></tr> |
|
67 </table> |
|
68 </dd> |
|
69 </dl> |
|
70 |
|
71 </div> |
|
72 </div> |
|
73 <a class="anchor" id="a781e451fe90e8678793278279d37d5f0"></a><!-- doxytag: member="MTransactionObserver::FailedL" ref="a781e451fe90e8678793278279d37d5f0" args="(const TInt &aError)=0" --> |
|
74 <div class="memitem"> |
|
75 <div class="memproto"> |
|
76 <table class="memname"> |
|
77 <tr> |
|
78 <td class="memname">virtual void MTransactionObserver::FailedL </td> |
|
79 <td>(</td> |
|
80 <td class="paramtype">const TInt & </td> |
|
81 <td class="paramname"> <em>aError</em></td> |
|
82 <td> ) </td> |
|
83 <td><code> [pure virtual]</code></td> |
|
84 </tr> |
|
85 </table> |
|
86 </div> |
|
87 <div class="memdoc"> |
|
88 <p>Called when a transaction has failed. </p> |
|
89 <dl><dt><b>Parameters:</b></dt><dd> |
|
90 <table border="0" cellspacing="2" cellpadding="0"> |
|
91 <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>the error code. </td></tr> |
|
92 </table> |
|
93 </dd> |
|
94 </dl> |
|
95 |
|
96 </div> |
|
97 </div> |
|
98 <a class="anchor" id="acc250172c2e57609e2993bfea1214d37"></a><!-- doxytag: member="MTransactionObserver::ConnectingToServerL" ref="acc250172c2e57609e2993bfea1214d37" args="(const TBool &aLoadingTasks)=0" --> |
|
99 <div class="memitem"> |
|
100 <div class="memproto"> |
|
101 <table class="memname"> |
|
102 <tr> |
|
103 <td class="memname">virtual void MTransactionObserver::ConnectingToServerL </td> |
|
104 <td>(</td> |
|
105 <td class="paramtype">const TBool & </td> |
|
106 <td class="paramname"> <em>aLoadingTasks</em></td> |
|
107 <td> ) </td> |
|
108 <td><code> [pure virtual]</code></td> |
|
109 </tr> |
|
110 </table> |
|
111 </div> |
|
112 <div class="memdoc"> |
|
113 <p>Called when a transaction is initiated. </p> |
|
114 <dl><dt><b>Parameters:</b></dt><dd> |
|
115 <table border="0" cellspacing="2" cellpadding="0"> |
|
116 <tr><td valign="top"></td><td valign="top"><em>aLoadingTasks</em> </td><td>ETrue if downloading tasks, EFalse if completing a task. </td></tr> |
|
117 </table> |
|
118 </dd> |
|
119 </dl> |
|
120 |
|
121 </div> |
|
122 </div> |
|
123 <a class="anchor" id="a181d92273f185c382c95eb84deaf877c"></a><!-- doxytag: member="MTransactionObserver::CancelledL" ref="a181d92273f185c382c95eb84deaf877c" args="()=0" --> |
|
124 <div class="memitem"> |
|
125 <div class="memproto"> |
|
126 <table class="memname"> |
|
127 <tr> |
|
128 <td class="memname">virtual void MTransactionObserver::CancelledL </td> |
|
129 <td>(</td> |
|
130 <td class="paramname"></td> |
|
131 <td> ) </td> |
|
132 <td><code> [pure virtual]</code></td> |
|
133 </tr> |
|
134 </table> |
|
135 </div> |
|
136 <div class="memdoc"> |
|
137 <p>Called when user cancelled the transaction. </p> |
|
138 |
|
139 </div> |
|
140 </div> |
|
141 <a class="anchor" id="ae487a3f2e816de373c20da0b56edc407"></a><!-- doxytag: member="MTransactionObserver::ErrorL" ref="ae487a3f2e816de373c20da0b56edc407" args="(const TDesC &aErrorMsg)=0" --> |
|
142 <div class="memitem"> |
|
143 <div class="memproto"> |
|
144 <table class="memname"> |
|
145 <tr> |
|
146 <td class="memname">virtual void MTransactionObserver::ErrorL </td> |
|
147 <td>(</td> |
|
148 <td class="paramtype">const TDesC & </td> |
|
149 <td class="paramname"> <em>aErrorMsg</em></td> |
|
150 <td> ) </td> |
|
151 <td><code> [pure virtual]</code></td> |
|
152 </tr> |
|
153 </table> |
|
154 </div> |
|
155 <div class="memdoc"> |
|
156 <p>Called when the user tries to initialise a transaction, but settings are faulty. </p> |
|
157 <dl><dt><b>Parameters:</b></dt><dd> |
|
158 <table border="0" cellspacing="2" cellpadding="0"> |
|
159 <tr><td valign="top"></td><td valign="top"><em>aErrorMsg</em> </td><td>error message. </td></tr> |
|
160 </table> |
|
161 </dd> |
|
162 </dl> |
|
163 |
|
164 </div> |
|
165 </div> |
|
166 </div> |
|
167 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
168 <a href="http://www.doxygen.org/index.html"> |
|
169 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
170 </body> |
|
171 </html> |