Class AEPluginProxyHandler
java.lang.Object
com.biglybt.core.proxy.impl.AEPluginProxyHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static booleanstatic final intstatic final intstatic final intprivate static final AESemaphoreprivate static final intprivate static final CopyOnWriteList<PluginInterface> private static final CopyOnWriteSet<SocketAddress> private static final Map<Proxy, WeakReference<AEPluginProxyHandler.PluginProxyImpl>> private static booleanprivate static Objectprivate static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidcheckPluginInstallation(String network, String reason) private static InetSocketAddressstatic InetSocketAddressgetLocalAddress(String host, int port) static InetSocketAddressgetLocalAddress(String host, int port, int network) static DHTPluginInterfacegetPluginHTTPProxy(String reason, URL url, boolean can_wait) static List<PluginInterface> getPluginHTTPProxyProviders(boolean can_wait) static AEProxyFactory.PluginProxygetPluginProxy(Proxy proxy) private static PluginInterfacegetPluginProxyForNetwork(String network, boolean supports_data) static booleanstatic booleanhasPluginProxyForNetwork(String network, boolean supports_data) static booleanhasPluginServerProxy(String reason, String network) static voidinitialise(Core core) private static booleaninstallTor(String extra_text, String remember_id, boolean[] install_outcome, Runnable callback) private static booleanstatic booleanisPluginProxy(SocketAddress address) static Stringprivate static voidprivate static voidstatic BooleantestPluginHTTPProxy(URL url, boolean can_wait, String reason) private static booleanwaitForPlugins(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
-
lookupPluginProxyURLHostRewrite
-
testPluginHTTPProxy
-
getPluginHTTPProxy
public static AEPluginProxyHandler.PluginHTTPProxyImpl getPluginHTTPProxy(String reason, URL url, boolean can_wait) -
getPluginHTTPProxyProviders
-
hasPluginServerProxy
-
getPluginServerProxy
-
getPluginDHTProxy
-
getLocalAddress
-
getLocalAddress
-
getLocalAddress
-
checkPluginInstallation
-
installTor
-