LEFT | RIGHT |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 package org.adblockplus.android.configurators; | 18 package org.adblockplus.android.configurators; |
19 | 19 |
20 import java.net.InetAddress; | 20 import java.net.InetAddress; |
21 | 21 |
22 /** | 22 /** |
23 * Interface for different proxy registration types. Constructor must always suc
ceed, do any work that may fail in | 23 * Interface for different proxy registration types. Constructor must always suc
ceed, do any work that may fail in |
24 * {@link ProxyConfigurator#initialize()}. | 24 * {@link ProxyConfigurator#initialize()}. |
25 * | |
26 * @author rjeschke | |
27 */ | 25 */ |
28 public interface ProxyConfigurator | 26 public interface ProxyConfigurator |
29 { | 27 { |
30 /** | 28 /** |
31 * Initializes this {@code ProxyConfigurator}. This function will normally get
called only once. | 29 * Initializes this {@code ProxyConfigurator}. This function will normally get
called only once. |
32 * | 30 * |
33 * @return {@code true} if initialization succeeded | 31 * @return {@code true} if initialization succeeded |
34 */ | 32 */ |
35 public boolean initialize(); | 33 public boolean initialize(); |
36 | 34 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 * | 67 * |
70 * @return {@code true} to disable auto-advancing in configurator list | 68 * @return {@code true} to disable auto-advancing in configurator list |
71 */ | 69 */ |
72 public boolean isSticky(); | 70 public boolean isSticky(); |
73 | 71 |
74 /** | 72 /** |
75 * @return the registration type of this configurator. | 73 * @return the registration type of this configurator. |
76 */ | 74 */ |
77 public ProxyRegistrationType getType(); | 75 public ProxyRegistrationType getType(); |
78 } | 76 } |
LEFT | RIGHT |