Uses of Class
com.mongodb.ServerAddress

Packages that use ServerAddress
com.mongodb Main package with core files. 
 

Uses of ServerAddress in com.mongodb
 

Subclasses of ServerAddress in com.mongodb
 class DBAddress
          Aquires the address of the database(s).
 

Methods in com.mongodb that return ServerAddress
 ServerAddress Mongo.getAddress()
          Gets the address of this database.
 

Methods in com.mongodb that return types with arguments of type ServerAddress
 java.util.List<ServerAddress> Mongo.getAllAddress()
           
 

Constructors in com.mongodb with parameters of type ServerAddress
Mongo(ServerAddress addr)
          Connects to Mongo using a given DBAddress
Mongo(ServerAddress addr, MongoOptions options)
          Connects to Mongo using a given DBAddress
Mongo(ServerAddress left, ServerAddress right)
          creates a Mongo connection in paired mode
Mongo(ServerAddress left, ServerAddress right, MongoOptions options)
          creates a Mongo connection in paired mode
 

Constructor parameters in com.mongodb with type arguments of type ServerAddress
Mongo(java.util.List<ServerAddress> replicaSetSeeds)
          creates a Mongo connection to a replica set
Mongo(java.util.List<ServerAddress> replicaSetSeeds, MongoOptions options)
          creates a Mongo connection to a replica set