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()
           
 

Methods in com.mongodb with parameters of type ServerAddress
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded)
           
 com.mongodb.Response DBConnector.call(DB db, DBCollection coll, com.mongodb.OutMessage m, ServerAddress hostNeeded, int retries)
           
 WriteResult DBConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
           
 

Constructors in com.mongodb with parameters of type ServerAddress
DBPort(ServerAddress addr)
           
Mongo(ServerAddress addr)
          Connects to a (single) mongodb node
Mongo(ServerAddress addr, MongoOptions options)
          Connects to a (single) mongo node using a given ServerAddress
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.
Mongo(java.util.List<ServerAddress> replicaSetSeeds, MongoOptions options)
          Creates a Mongo connection.