Class AEProxyFactory
java.lang.Object
com.biglybt.core.proxy.AEProxyFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AEProxycreate(int port, long connect_timeout, long read_timeout, AEProxyHandler state_factory) static AEProxyAddressMapperstatic DHTPluginInterfacegetPluginHTTPProxy(String reason, URL target, boolean can_wait) static List<PluginInterface> getPluginHTTPProxyProviders(boolean can_wait) static AEProxyFactory.PluginProxygetPluginProxy(String reason, String host, int port) static AEProxyFactory.PluginProxystatic AEProxyFactory.PluginProxygetPluginProxy(String reason, URL target) static AEProxyFactory.PluginProxygetPluginProxy(String reason, URL target, boolean can_wait) static AEProxyFactory.PluginProxystatic AEProxyFactory.PluginProxystatic AEProxyFactory.PluginProxygetPluginProxy(Proxy proxy) static booleanstatic booleanhasPluginServerProxy(String reason, String network) static voidinitialise(Core core) static booleanisPluginProxy(SocketAddress address) static BooleantestPluginHTTPProxy(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:
-
PO_PROTOCOL
- See Also:
-
PO_PROTOCOL_TCP
- See Also:
-
PO_PROTOCOL_UDP
- 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() -
hasPluginServerProxy
-
getPluginServerProxy
-
getPluginDHTProxy
-