public interface ProxiedConnectionFactory extends ConnectionFactory
Modifier and Type | Method and Description |
---|---|
Connection |
connect(Server server,
MongoClientConfiguration config)
Creates a connection to the address provided.
|
connect, getClusterStats, getClusterType, getReconnectStrategy
Connection connect(Server 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–2014 Allanbank Consulting, Inc.. All rights reserved.