|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
|
3 <title>TB10.1 Example Applications: CPop3Example Class Reference</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.3 --> |
|
8 <h1>CPop3Example Class Reference</h1><!-- doxytag: class="CPop3Example" --> |
|
9 <p> |
|
10 <a href="class_c_pop3_example-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
11 <tr><td></td></tr> |
|
12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
|
13 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#401645654f38c3e601b09ff84d6fd033">~CPop3Example</a> ()</td></tr> |
|
14 |
|
15 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#e48622bc95aeac93981f58a7418258f9">HandleSessionEventL</a> (TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3)</td></tr> |
|
16 |
|
17 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#071be1033b73bd98a19978d4bd90b7fb">CreateClientRegistryL</a> ()</td></tr> |
|
18 |
|
19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#e1b7a4e38a8771d202c637adb12302c2">CreatePopAndSmtpAccountL</a> ()</td></tr> |
|
20 |
|
21 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#4e14514a9a39eee71b372edc85a93b17">CreateSmtpMessageL</a> ()</td></tr> |
|
22 |
|
23 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#681d0b120db69c06587235560f1e3b34">SendSMTPMessageL</a> ()</td></tr> |
|
24 |
|
25 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#a6944f804b14759d3eaec2b791b78f0c">ConnectDownloadAndDisconnectPOPServerL</a> ()</td></tr> |
|
26 |
|
27 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
|
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_pop3_example.html">CPop3Example</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_pop3_example.html#b349920e1fdb72d5dbf6186c52d319b6">NewL</a> ()</td></tr> |
|
29 |
|
30 </table> |
|
31 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
32 A class that publicily inherits two classes, CBase and MMsvSessionObserver. CBase is the base class for all classes to be instantiated on the heap. MMsvSessionObserver is the interface for notification of events from a Message Server session. Objects that need to observe a session view should implement this interface. |
|
33 <p>Definition at line <a class="el" href="pop3_example_8h-source.html#l00059">59</a> of file <a class="el" href="pop3_example_8h-source.html">pop3Example.h</a>.</p> |
|
34 <hr><h2>Constructor & Destructor Documentation</h2> |
|
35 <a class="anchor" name="401645654f38c3e601b09ff84d6fd033"></a><!-- doxytag: member="CPop3Example::~CPop3Example" ref="401645654f38c3e601b09ff84d6fd033" args="()" --> |
|
36 <div class="memitem"> |
|
37 <div class="memproto"> |
|
38 <table class="memname"> |
|
39 <tr> |
|
40 <td class="memname">CPop3Example::~CPop3Example </td> |
|
41 <td>(</td> |
|
42 <td class="paramname"> </td> |
|
43 <td> ) </td> |
|
44 <td width="100%"></td> |
|
45 </tr> |
|
46 </table> |
|
47 </div> |
|
48 <div class="memdoc"> |
|
49 |
|
50 <p> |
|
51 Destructor |
|
52 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00078">78</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
53 |
|
54 </div> |
|
55 </div><p> |
|
56 <hr><h2>Member Function Documentation</h2> |
|
57 <a class="anchor" name="b349920e1fdb72d5dbf6186c52d319b6"></a><!-- doxytag: member="CPop3Example::NewL" ref="b349920e1fdb72d5dbf6186c52d319b6" args="()" --> |
|
58 <div class="memitem"> |
|
59 <div class="memproto"> |
|
60 <table class="memname"> |
|
61 <tr> |
|
62 <td class="memname"><a class="el" href="class_c_pop3_example.html">CPop3Example</a> * CPop3Example::NewL </td> |
|
63 <td>(</td> |
|
64 <td class="paramname"> </td> |
|
65 <td> ) </td> |
|
66 <td width="100%"><code> [static]</code></td> |
|
67 </tr> |
|
68 </table> |
|
69 </div> |
|
70 <div class="memdoc"> |
|
71 |
|
72 <p> |
|
73 Allocates and constructs a <a class="el" href="class_c_pop3_example.html">CPop3Example</a> object. Initialises all member data to their default values. |
|
74 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00052">52</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
75 |
|
76 </div> |
|
77 </div><p> |
|
78 <a class="anchor" name="e48622bc95aeac93981f58a7418258f9"></a><!-- doxytag: member="CPop3Example::HandleSessionEventL" ref="e48622bc95aeac93981f58a7418258f9" args="(TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3)" --> |
|
79 <div class="memitem"> |
|
80 <div class="memproto"> |
|
81 <table class="memname"> |
|
82 <tr> |
|
83 <td class="memname">void CPop3Example::HandleSessionEventL </td> |
|
84 <td>(</td> |
|
85 <td class="paramtype">TMsvSessionEvent </td> |
|
86 <td class="paramname"> <em>aEvent</em>, </td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td class="paramkey"></td> |
|
90 <td></td> |
|
91 <td class="paramtype">TAny * </td> |
|
92 <td class="paramname"> <em>aArg1</em>, </td> |
|
93 </tr> |
|
94 <tr> |
|
95 <td class="paramkey"></td> |
|
96 <td></td> |
|
97 <td class="paramtype">TAny * </td> |
|
98 <td class="paramname"> <em>aArg2</em>, </td> |
|
99 </tr> |
|
100 <tr> |
|
101 <td class="paramkey"></td> |
|
102 <td></td> |
|
103 <td class="paramtype">TAny * </td> |
|
104 <td class="paramname"> <em>aArg3</em></td><td> </td> |
|
105 </tr> |
|
106 <tr> |
|
107 <td></td> |
|
108 <td>)</td> |
|
109 <td></td><td></td><td width="100%"></td> |
|
110 </tr> |
|
111 </table> |
|
112 </div> |
|
113 <div class="memdoc"> |
|
114 |
|
115 <p> |
|
116 Implements the session observer interface to update the registry information when MTM groups are installed or uninstalled. Invoked by the active object mechanism. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
117 <table border="0" cellspacing="2" cellpadding="0"> |
|
118 <tr><td valign="top"></td><td valign="top"><em>aEvent</em> </td><td>Event type </td></tr> |
|
119 <tr><td valign="top"></td><td valign="top"><em>aArg1</em> </td><td>Event type-specific argument value (unused) </td></tr> |
|
120 <tr><td valign="top"></td><td valign="top"><em>aArg2</em> </td><td>Event type-specific argument value (unused) </td></tr> |
|
121 <tr><td valign="top"></td><td valign="top"><em>aArg3</em> </td><td>Event type-specific argument value (unused) System wide error codes </td></tr> |
|
122 </table> |
|
123 </dl> |
|
124 |
|
125 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00354">354</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
126 |
|
127 </div> |
|
128 </div><p> |
|
129 <a class="anchor" name="071be1033b73bd98a19978d4bd90b7fb"></a><!-- doxytag: member="CPop3Example::CreateClientRegistryL" ref="071be1033b73bd98a19978d4bd90b7fb" args="()" --> |
|
130 <div class="memitem"> |
|
131 <div class="memproto"> |
|
132 <table class="memname"> |
|
133 <tr> |
|
134 <td class="memname">void CPop3Example::CreateClientRegistryL </td> |
|
135 <td>(</td> |
|
136 <td class="paramname"> </td> |
|
137 <td> ) </td> |
|
138 <td width="100%"></td> |
|
139 </tr> |
|
140 </table> |
|
141 </div> |
|
142 <div class="memdoc"> |
|
143 |
|
144 <p> |
|
145 Starts a message server session, creates a client side mtm registry and pop client mtm. KErrNoMemory, KErrNotFound, KErrBadLibraryEntryPoint |
|
146 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00096">96</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
147 |
|
148 </div> |
|
149 </div><p> |
|
150 <a class="anchor" name="e1b7a4e38a8771d202c637adb12302c2"></a><!-- doxytag: member="CPop3Example::CreatePopAndSmtpAccountL" ref="e1b7a4e38a8771d202c637adb12302c2" args="()" --> |
|
151 <div class="memitem"> |
|
152 <div class="memproto"> |
|
153 <table class="memname"> |
|
154 <tr> |
|
155 <td class="memname">void CPop3Example::CreatePopAndSmtpAccountL </td> |
|
156 <td>(</td> |
|
157 <td class="paramname"> </td> |
|
158 <td> ) </td> |
|
159 <td width="100%"></td> |
|
160 </tr> |
|
161 </table> |
|
162 </div> |
|
163 <div class="memdoc"> |
|
164 |
|
165 <p> |
|
166 Creates a pop account and an smtp account. Sets the pop server address to system address and sets login name and password system wide error codes |
|
167 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00122">122</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
168 |
|
169 </div> |
|
170 </div><p> |
|
171 <a class="anchor" name="4e14514a9a39eee71b372edc85a93b17"></a><!-- doxytag: member="CPop3Example::CreateSmtpMessageL" ref="4e14514a9a39eee71b372edc85a93b17" args="()" --> |
|
172 <div class="memitem"> |
|
173 <div class="memproto"> |
|
174 <table class="memname"> |
|
175 <tr> |
|
176 <td class="memname">void CPop3Example::CreateSmtpMessageL </td> |
|
177 <td>(</td> |
|
178 <td class="paramname"> </td> |
|
179 <td> ) </td> |
|
180 <td width="100%"></td> |
|
181 </tr> |
|
182 </table> |
|
183 </div> |
|
184 <div class="memdoc"> |
|
185 |
|
186 <p> |
|
187 Creates an smtp message,stores and then commits settings to a specified message store. KErrNoMemory,KErrNotFound,KErrAccessDenied,Standard |
|
188 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00190">190</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
189 |
|
190 </div> |
|
191 </div><p> |
|
192 <a class="anchor" name="681d0b120db69c06587235560f1e3b34"></a><!-- doxytag: member="CPop3Example::SendSMTPMessageL" ref="681d0b120db69c06587235560f1e3b34" args="()" --> |
|
193 <div class="memitem"> |
|
194 <div class="memproto"> |
|
195 <table class="memname"> |
|
196 <tr> |
|
197 <td class="memname">void CPop3Example::SendSMTPMessageL </td> |
|
198 <td>(</td> |
|
199 <td class="paramname"> </td> |
|
200 <td> ) </td> |
|
201 <td width="100%"></td> |
|
202 </tr> |
|
203 </table> |
|
204 </div> |
|
205 <div class="memdoc"> |
|
206 |
|
207 <p> |
|
208 Accesses the entry with the specified ID. Sets the context to the specified entry. Sends the created smtp mail. KErrNoMemory,KErrNotFound |
|
209 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00254">254</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
210 |
|
211 </div> |
|
212 </div><p> |
|
213 <a class="anchor" name="a6944f804b14759d3eaec2b791b78f0c"></a><!-- doxytag: member="CPop3Example::ConnectDownloadAndDisconnectPOPServerL" ref="a6944f804b14759d3eaec2b791b78f0c" args="()" --> |
|
214 <div class="memitem"> |
|
215 <div class="memproto"> |
|
216 <table class="memname"> |
|
217 <tr> |
|
218 <td class="memname">void CPop3Example::ConnectDownloadAndDisconnectPOPServerL </td> |
|
219 <td>(</td> |
|
220 <td class="paramname"> </td> |
|
221 <td> ) </td> |
|
222 <td width="100%"></td> |
|
223 </tr> |
|
224 </table> |
|
225 </div> |
|
226 <div class="memdoc"> |
|
227 |
|
228 <p> |
|
229 Changes the entry on which later actions are performed to the entry with the specified TMsvId. Connects to the pop server. Downloads the mail sent using smtp and disconnects from the service. KErrNoMemory,KErrNotFound,KErrNotSupported,system wide error codes |
|
230 <p>Definition at line <a class="el" href="pop3_example_8cpp-source.html#l00297">297</a> of file <a class="el" href="pop3_example_8cpp-source.html">pop3Example.cpp</a>.</p> |
|
231 |
|
232 </div> |
|
233 </div><p> |
|
234 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by |
|
235 <a href="http://www.doxygen.org/index.html"> |
|
236 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
|
237 </body> |
|
238 </html> |