2012-03-12 19:17:56 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2012-05-24 13:17:46 -07:00
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-12-21 08:44:08 -08:00
|
|
|
|
|
|
|
package org.mozilla.gecko.sync.synchronizer;
|
|
|
|
|
|
|
|
public interface RecordsChannelDelegate {
|
2012-02-15 22:05:53 -08:00
|
|
|
public void onFlowCompleted(RecordsChannel recordsChannel, long fetchEnd, long storeEnd);
|
2011-12-21 08:44:08 -08:00
|
|
|
public void onFlowBeginFailed(RecordsChannel recordsChannel, Exception ex);
|
2012-03-12 19:17:56 -07:00
|
|
|
public void onFlowFetchFailed(RecordsChannel recordsChannel, Exception ex);
|
2012-05-31 12:21:08 -07:00
|
|
|
public void onFlowStoreFailed(RecordsChannel recordsChannel, Exception ex, String recordGuid);
|
2011-12-21 08:44:08 -08:00
|
|
|
public void onFlowFinishFailed(RecordsChannel recordsChannel, Exception ex);
|
|
|
|
}
|