Package com.biglybt.core.proxy.impl
Class AEPluginProxyHandler
java.lang.Object
com.biglybt.core.proxy.impl.AEPluginProxyHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static boolean
static final int
static final int
static final int
private static final AESemaphore
private static final int
private static final CopyOnWriteList
<PluginInterface> private static final CopyOnWriteSet
<SocketAddress> private static final Map
<Proxy, WeakReference<AEPluginProxyHandler.PluginProxyImpl>> private static boolean
private static Object
private static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
checkPluginInstallation
(String network, String reason) private static InetSocketAddress
static InetSocketAddress
getLocalAddress
(String host, int port) static InetSocketAddress
getLocalAddress
(String host, int port, int network) static DHTPluginInterface
getPluginHTTPProxy
(String reason, URL url, boolean can_wait) static List
<PluginInterface> getPluginHTTPProxyProviders
(boolean can_wait) static AEProxyFactory.PluginProxy
getPluginProxy
(Proxy proxy) private static PluginInterface
getPluginProxyForNetwork
(String network, boolean supports_data) static boolean
static boolean
hasPluginProxyForNetwork
(String network, boolean supports_data) static void
initialise
(Core core) private static boolean
installTor
(String extra_text, String remember_id, boolean[] install_outcome, Runnable callback) private static boolean
static boolean
isPluginProxy
(SocketAddress address) private static void
private static void
static Boolean
testPluginHTTPProxy
(URL url, boolean can_wait, String reason) private static boolean
waitForPlugins
(int max_wait)
-
Field Details
-
plugins
-
plugin_init_max_wait
private static final int plugin_init_max_wait- See Also:
-
plugin_init_complete
-
enable_plugin_proxies_with_socks
private static boolean enable_plugin_proxies_with_socks -
proxy_map
-
proxy_list
-
LA_EXPLICIT_NET_NONE
public static final int LA_EXPLICIT_NET_NONE- See Also:
-
LA_EXPLICIT_NET_MIX
public static final int LA_EXPLICIT_NET_MIX- See Also:
-
LA_EXPLICIT_NET_PURE
public static final int LA_EXPLICIT_NET_PURE- See Also:
-
tor_install_lock
-
declines
-
tor_installing
private static boolean tor_installing -
tor_install_fail_reported
private static boolean tor_install_fail_reported
-
-
Constructor Details
-
AEPluginProxyHandler
public AEPluginProxyHandler()
-
-
Method Details
-
initialise
-
pluginAdded
-
pluginRemoved
-
waitForPlugins
private static boolean waitForPlugins(int max_wait) -
hasPluginProxyForNetwork
-
getPluginProxyForNetwork
-
hasPluginProxy
public static boolean hasPluginProxy() -
isEnabled
private static boolean isEnabled() -
getPluginProxy
-
getPluginProxy
-
getPluginProxy
-
isPluginProxy
-
testPluginHTTPProxy
-
getPluginHTTPProxy
public static AEPluginProxyHandler.PluginHTTPProxyImpl getPluginHTTPProxy(String reason, URL url, boolean can_wait) -
getPluginHTTPProxyProviders
-
getPluginServerProxy
-
getPluginDHTProxy
-
getLocalAddress
-
getLocalAddress
-
getLocalAddress
-
checkPluginInstallation
-
installTor
-