diff options
Diffstat (limited to 'db/instance.h')
-rw-r--r-- | db/instance.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h index 925cdb49ac3..4b45df78e33 100644 --- a/db/instance.h +++ b/db/instance.h @@ -99,11 +99,14 @@ namespace mongo { // --- local client --- - + class DBDirectClient : public DBClientBase { virtual string toString() { return "DBDirectClient"; } + virtual string getServerAddress() const{ + return "localhost"; // TODO: should this have the port? + } virtual bool call( Message &toSend, Message &response, bool assertOk=true ); virtual void say( Message &toSend ); virtual void sayPiggyBack( Message &toSend ) { |