Class | Mongo::Node |
In: |
lib/mongo/util/node.rb
|
Parent: | Object |
address | [RW] | |
client | [RW] | |
host | [RW] | |
last_state | [RW] | |
port | [RW] | |
socket | [RW] |
Create a connection to the provided node, and, if successful, return the socket. Otherwise, return nil.
Get the configuration for the provided node as returned by the ismaster command. Additionally, check that the replica set name matches with the name provided.