Class AEProxyFactory


  • public class AEProxyFactory
    extends java.lang.Object
    • Constructor Detail

      • AEProxyFactory

        public AEProxyFactory()
    • Method Detail

      • initialise

        public static void initialise​(Core core)
      • create

        public static AEProxy create​(int port,
                                     long connect_timeout,
                                     long read_timeout,
                                     AEProxyHandler state_factory)
                              throws AEProxyException
        Parameters:
        port - 0 = free port
        connect_timeout - 0 = no timeout
        read_timeout - 0 = no timeout
        Returns:
        Throws:
        AEProxyException
      • getPluginProxy

        public static AEProxyFactory.PluginProxy getPluginProxy​(java.lang.String reason,
                                                                java.net.URL target,
                                                                boolean can_wait)
      • getPluginProxy

        public static AEProxyFactory.PluginProxy getPluginProxy​(java.lang.String reason,
                                                                java.net.URL target,
                                                                java.util.Map<java.lang.String,​java.lang.Object> proxy_options,
                                                                boolean can_wait)
      • getPluginProxy

        public static AEProxyFactory.PluginProxy getPluginProxy​(java.lang.String reason,
                                                                java.lang.String host,
                                                                int port)
      • getPluginProxy

        public static AEProxyFactory.PluginProxy getPluginProxy​(java.lang.String reason,
                                                                java.lang.String host,
                                                                int port,
                                                                java.util.Map<java.lang.String,​java.lang.Object> proxy_options)
      • isPluginProxy

        public static boolean isPluginProxy​(java.net.SocketAddress address)
      • testPluginHTTPProxy

        public static java.lang.Boolean testPluginHTTPProxy​(java.net.URL target,
                                                            boolean can_wait,
                                                            java.lang.String reason)
      • getPluginHTTPProxy

        public static AEProxyFactory.PluginHTTPProxy getPluginHTTPProxy​(java.lang.String reason,
                                                                        java.net.URL target,
                                                                        boolean can_wait)
      • getPluginHTTPProxyProviders

        public static java.util.List<PluginInterface> getPluginHTTPProxyProviders​(boolean can_wait)
      • hasPluginProxy

        public static boolean hasPluginProxy()
      • getPluginServerProxy

        public static java.util.Map<java.lang.String,​java.lang.Object> getPluginServerProxy​(java.lang.String reason,
                                                                                                  java.lang.String network,
                                                                                                  java.lang.String server_uid,
                                                                                                  java.util.Map<java.lang.String,​java.lang.Object> options)
      • getPluginDHTProxy

        public static DHTPluginInterface getPluginDHTProxy​(java.lang.String reason,
                                                           java.lang.String network,
                                                           java.util.Map<java.lang.String,​java.lang.Object> options)