On May 24, 2006, at 11:56 AM, John Preston wrote:
I am using MINA to develop a socket based client and server application, with the client portion being activated via java webstart. I need to be able to set the proxy to use for the socket connection, using thew ProxySelector class, so that I can adjust the proxy for different servers.I have been told by Trustin that MINA does not support proxies yet, so I will have to put it in myself. Can anyone point me in the right direction as to where it should preferably go, as a session configuration parameter maybe.
Looking at the javadocs for Proxy/ProxySelector, it seems to be geared towards working with URLConnections?
I think this might be best handled in your code? If a proxy is in place, connect to the proxy, and use an IoFilter near the bottom of the chain to initialize the proxy connection for the higher-level code?
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
