com.mongodb
Class DBPort

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

public class DBPort
extends java.lang.Object


Field Summary
static int PORT
           
 
Constructor Summary
DBPort(java.net.InetSocketAddress addr)
           
 
Method Summary
protected  void close()
           
 void ensureOpen()
           
protected  void finalize()
           
 int hashCode()
           
 java.lang.String host()
           
 java.lang.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(java.net.InetSocketAddress addr)
Method Detail

ensureOpen

public void ensureOpen()
                throws java.io.IOException
Throws:
java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

host

public java.lang.String host()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

close

protected void close()