Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Is the ConnectionConfiguration#ProxyInfo ignored by the Connection class?

$
0
0

Hi,

 

I am trying to connect through a proxy.

 

After reading the code, it seems, that the proxy information in my ConnectionConfiguration class is ignored:

 

if (config.getSocketFactory() == null) {

                    this.socket = new Socket(host, port);

                }

                else {

                    this.socket = config.getSocketFactory().createSocket(host, port);

                }

 

Obviously the socket can't connect and an UnknownHostException is thrown.

 

Then searching for accessors to the configuration's proxyInfo field yields zero results.

 

So I suspect the value is written but never read/used!?

 

Any clarification on this issue is appreciated!


Viewing all articles
Browse latest Browse all 10742

Trending Articles