mobile/android/base/tokenserver/TokenServerClientDelegate.java

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:5d9b4a322c6c
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.tokenserver;
6
7
8 public interface TokenServerClientDelegate {
9 void handleSuccess(TokenServerToken token);
10 void handleFailure(TokenServerException e);
11 void handleError(Exception e);
12
13 /**
14 * Might be called multiple times, in addition to the other terminating handler methods.
15 */
16 void handleBackoff(int backoffSeconds);
17
18 public String getUserAgent();
19 }

mercurial