Package com.biglybt.core.proxy
Class AEProxyFactory
java.lang.Object
com.biglybt.core.proxy.AEProxyFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AEProxy
create
(int port, long connect_timeout, long read_timeout, AEProxyHandler state_factory) static AEProxyAddressMapper
static DHTPluginInterface
getPluginHTTPProxy
(String reason, URL target, boolean can_wait) static List<PluginInterface>
getPluginHTTPProxyProviders
(boolean can_wait) static AEProxyFactory.PluginProxy
getPluginProxy
(String reason, String host, int port) static AEProxyFactory.PluginProxy
static AEProxyFactory.PluginProxy
getPluginProxy
(String reason, URL target) static AEProxyFactory.PluginProxy
getPluginProxy
(String reason, URL target, boolean can_wait) static AEProxyFactory.PluginProxy
static AEProxyFactory.PluginProxy
static AEProxyFactory.PluginProxy
getPluginProxy
(Proxy proxy) static boolean
static void
initialise
(Core core) static boolean
isPluginProxy
(SocketAddress address) static Boolean
testPluginHTTPProxy
(URL target, boolean can_wait, String reason)
-
Field Details
-
PO_PEER_NETWORKS
- See Also:
-
PO_LOCAL_PORT
- See Also:
-
PO_EXPLICIT_BIND
- See Also:
-
PO_PREFERRED_PROXY_TYPE
- See Also:
-
PO_FORCE_PROXY
- See Also:
-
SP_HOST
- See Also:
-
SP_PORT
- See Also:
-
SP_REMOTE_PORT
- See Also:
-
SP_NEW_IDENTITY
- See Also:
-
SP_BIND
- See Also:
-
DP_DOWNLOAD
- See Also:
-
DP_NETWORKS
- See Also:
-
-
Constructor Details
-
AEProxyFactory
public AEProxyFactory()
-
-
Method Details
-
initialise
-
create
public static AEProxy create(int port, long connect_timeout, long read_timeout, AEProxyHandler state_factory) throws AEProxyException - Parameters:
port
- 0 = free portconnect_timeout
- 0 = no timeoutread_timeout
- 0 = no timeout- Returns:
- Throws:
AEProxyException
-
getAddressMapper
-
getPluginProxy
-
getPluginProxy
public static AEProxyFactory.PluginProxy getPluginProxy(String reason, URL target, boolean can_wait) -
getPluginProxy
-
getPluginProxy
-
getPluginProxy
-
getPluginProxy
-
getPluginProxy
-
isPluginProxy
-
testPluginHTTPProxy
-
getPluginHTTPProxy
public static AEProxyFactory.PluginHTTPProxy getPluginHTTPProxy(String reason, URL target, boolean can_wait) -
getPluginHTTPProxyProviders
-
hasPluginProxy
public static boolean hasPluginProxy() -
getPluginServerProxy
-
getPluginDHTProxy
-