|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 package org.mozilla.gecko.sync.synchronizer; |
|
6 |
|
7 public interface RecordsChannelDelegate { |
|
8 public void onFlowCompleted(RecordsChannel recordsChannel, long fetchEnd, long storeEnd); |
|
9 public void onFlowBeginFailed(RecordsChannel recordsChannel, Exception ex); |
|
10 public void onFlowFetchFailed(RecordsChannel recordsChannel, Exception ex); |
|
11 public void onFlowStoreFailed(RecordsChannel recordsChannel, Exception ex, String recordGuid); |
|
12 public void onFlowFinishFailed(RecordsChannel recordsChannel, Exception ex); |
|
13 } |