50 <dd> |
50 <dd> |
51 emitted for a general error with the error message (string) |
51 emitted for a general error with the error message (string) |
52 </dd><dt>syncFinished(type_, done, download)</dt> |
52 </dd><dt>syncFinished(type_, done, download)</dt> |
53 <dd> |
53 <dd> |
54 emitted after a synchronization has |
54 emitted after a synchronization has |
55 finished (string one of "bookmarks", "history", "passwords" or "useragents", |
55 finished (string one of "bookmarks", "history", "passwords", "useragents" or |
56 boolean, boolean) |
56 "speeddial", boolean, boolean) |
57 </dd><dt>syncMessage(message)</dt> |
57 </dd><dt>syncMessage(message)</dt> |
58 <dd> |
58 <dd> |
59 emitted to send a message about synchronization (string) |
59 emitted to send a message about synchronization (string) |
60 </dd><dt>syncStatus(type_, done, message)</dt> |
60 </dd><dt>syncStatus(type_, message)</dt> |
61 <dd> |
61 <dd> |
62 emitted to indicate the synchronization |
62 emitted to indicate the synchronization |
63 status (string one of "bookmarks", "history", "passwords" or "useragents", |
63 status (string one of "bookmarks", "history", "passwords", "useragents" or |
64 boolean, string) |
64 "speeddial", string) |
65 </dd> |
65 </dd> |
66 </dl> |
66 </dl> |
67 <h3>Derived from</h3> |
67 <h3>Derived from</h3> |
68 SyncHandler |
68 SyncHandler |
69 <h3>Class Attributes</h3> |
69 <h3>Class Attributes</h3> |
122 <td><a href="#FtpSyncHandler.syncHistory">syncHistory</a></td> |
122 <td><a href="#FtpSyncHandler.syncHistory">syncHistory</a></td> |
123 <td>Public method to synchronize the history.</td> |
123 <td>Public method to synchronize the history.</td> |
124 </tr><tr> |
124 </tr><tr> |
125 <td><a href="#FtpSyncHandler.syncPasswords">syncPasswords</a></td> |
125 <td><a href="#FtpSyncHandler.syncPasswords">syncPasswords</a></td> |
126 <td>Public method to synchronize the passwords.</td> |
126 <td>Public method to synchronize the passwords.</td> |
|
127 </tr><tr> |
|
128 <td><a href="#FtpSyncHandler.syncSpeedDial">syncSpeedDial</a></td> |
|
129 <td>Public method to synchronize the speed dial data.</td> |
127 </tr><tr> |
130 </tr><tr> |
128 <td><a href="#FtpSyncHandler.syncUserAgents">syncUserAgents</a></td> |
131 <td><a href="#FtpSyncHandler.syncUserAgents">syncUserAgents</a></td> |
129 <td>Public method to synchronize the user agents.</td> |
132 <td>Public method to synchronize the user agents.</td> |
130 </tr> |
133 </tr> |
131 </table> |
134 </table> |
180 Private method to downlaod the given file. |
183 Private method to downlaod the given file. |
181 </p><dl> |
184 </p><dl> |
182 <dt><i>type_</i></dt> |
185 <dt><i>type_</i></dt> |
183 <dd> |
186 <dd> |
184 type of the synchronization event (string one |
187 type of the synchronization event (string one |
185 of "bookmarks", "history", "passwords" or "useragents") |
188 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
186 </dd><dt><i>fileName</i></dt> |
189 </dd><dt><i>fileName</i></dt> |
187 <dd> |
190 <dd> |
188 name of the file to be downloaded (string) |
191 name of the file to be downloaded (string) |
189 </dd><dt><i>timestamp</i></dt> |
192 </dd><dt><i>timestamp</i></dt> |
190 <dd> |
193 <dd> |
207 Private method to do the initial synchronization of the given file. |
210 Private method to do the initial synchronization of the given file. |
208 </p><dl> |
211 </p><dl> |
209 <dt><i>type_</i></dt> |
212 <dt><i>type_</i></dt> |
210 <dd> |
213 <dd> |
211 type of the synchronization event (string one |
214 type of the synchronization event (string one |
212 of "bookmarks", "history", "passwords" or "useragents") |
215 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
213 </dd><dt><i>fileName</i></dt> |
216 </dd><dt><i>fileName</i></dt> |
214 <dd> |
217 <dd> |
215 name of the file to be synchronized (string) |
218 name of the file to be synchronized (string) |
216 </dd> |
219 </dd> |
217 </dl><a NAME="FtpSyncHandler.__storeReached" ID="FtpSyncHandler.__storeReached"></a> |
220 </dl><a NAME="FtpSyncHandler.__storeReached" ID="FtpSyncHandler.__storeReached"></a> |
226 Private method to synchronize the given file. |
229 Private method to synchronize the given file. |
227 </p><dl> |
230 </p><dl> |
228 <dt><i>type_</i></dt> |
231 <dt><i>type_</i></dt> |
229 <dd> |
232 <dd> |
230 type of the synchronization event (string one |
233 type of the synchronization event (string one |
231 of "bookmarks", "history", "passwords" or "useragents") |
234 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
232 </dd><dt><i>fileName</i></dt> |
235 </dd><dt><i>fileName</i></dt> |
233 <dd> |
236 <dd> |
234 name of the file to be synchronized (string) |
237 name of the file to be synchronized (string) |
235 </dd> |
238 </dd> |
236 </dl><a NAME="FtpSyncHandler.__uploadFile" ID="FtpSyncHandler.__uploadFile"></a> |
239 </dl><a NAME="FtpSyncHandler.__uploadFile" ID="FtpSyncHandler.__uploadFile"></a> |
240 Private method to upload the given file. |
243 Private method to upload the given file. |
241 </p><dl> |
244 </p><dl> |
242 <dt><i>type_</i></dt> |
245 <dt><i>type_</i></dt> |
243 <dd> |
246 <dd> |
244 type of the synchronization event (string one |
247 type of the synchronization event (string one |
245 of "bookmarks", "history", "passwords" or "useragents") |
248 of "bookmarks", "history", "passwords", "useragents" or "speeddial") |
246 </dd><dt><i>fileName</i></dt> |
249 </dd><dt><i>fileName</i></dt> |
247 <dd> |
250 <dd> |
248 name of the file to be uploaded (string) |
251 name of the file to be uploaded (string) |
249 </dd> |
252 </dd> |
250 </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a> |
253 </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a> |
275 </p><a NAME="FtpSyncHandler.syncPasswords" ID="FtpSyncHandler.syncPasswords"></a> |
278 </p><a NAME="FtpSyncHandler.syncPasswords" ID="FtpSyncHandler.syncPasswords"></a> |
276 <h4>FtpSyncHandler.syncPasswords</h4> |
279 <h4>FtpSyncHandler.syncPasswords</h4> |
277 <b>syncPasswords</b>(<i></i>) |
280 <b>syncPasswords</b>(<i></i>) |
278 <p> |
281 <p> |
279 Public method to synchronize the passwords. |
282 Public method to synchronize the passwords. |
|
283 </p><a NAME="FtpSyncHandler.syncSpeedDial" ID="FtpSyncHandler.syncSpeedDial"></a> |
|
284 <h4>FtpSyncHandler.syncSpeedDial</h4> |
|
285 <b>syncSpeedDial</b>(<i></i>) |
|
286 <p> |
|
287 Public method to synchronize the speed dial data. |
280 </p><a NAME="FtpSyncHandler.syncUserAgents" ID="FtpSyncHandler.syncUserAgents"></a> |
288 </p><a NAME="FtpSyncHandler.syncUserAgents" ID="FtpSyncHandler.syncUserAgents"></a> |
281 <h4>FtpSyncHandler.syncUserAgents</h4> |
289 <h4>FtpSyncHandler.syncUserAgents</h4> |
282 <b>syncUserAgents</b>(<i></i>) |
290 <b>syncUserAgents</b>(<i></i>) |
283 <p> |
291 <p> |
284 Public method to synchronize the user agents. |
292 Public method to synchronize the user agents. |