com.mongodb
Class DBPort

java.lang.Object
  extended by com.mongodb.DBPort

public class DBPort
extends Object


Field Summary
static int PORT
           
 
Constructor Summary
DBPort(ServerAddress addr)
           
 
Method Summary
protected  void close()
           
 void ensureOpen()
           
protected  void finalize()
           
 int hashCode()
           
 String host()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values
Constructor Detail

DBPort

public DBPort(ServerAddress addr)
Method Detail

ensureOpen

public void ensureOpen()
                throws IOException
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

host

public String host()

toString

public String toString()
Overrides:
toString in class Object

finalize

protected void finalize()
Overrides:
finalize in class Object

close

protected void close()