On Oct 19, 2006, at 6:48 AM, Niklas Therning wrote:
With the SocketConnectorFactory I would just setup one which has no
SSLFilter in its filter chain and one which has and then configure
my code with these. Then in my code I would do:
IoConnector connector = null;
if (useSSL) {
connector = sslConnectorFactory.create();
} else {
connector = connectorFactory.create();
}
connector.setRemoteAddress(address);
connector.connect();
I was thinking of something like this, but on the Acceptor side..That way some code could pre-configure an AccetorFactory, and then other code can just do AcceptorFactory.newInstance().connect ( remoteAddress ) to create a connection, with the details of configuring filters/etc elsewhere.
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
