public interface ProxiedConnectionFactory extends ConnectionFactory
| Modifier and Type | Method and Description | 
|---|---|
Connection | 
connect(ServerState server,
       MongoClientConfiguration config)
Creates a connection to the address provided. 
 | 
connect, getClusterType, getReconnectStrategyConnection connect(ServerState server, MongoClientConfiguration config) throws IOException
server - The MongoDB server to connect to.config - The configuration for the Connection to the MongoDB server.IOException - On a failure connecting to the server.Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.