diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-02-05 17:51:36 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-02-05 17:52:36 -0500 |
commit | 471fd7da06644d80c906e2ac69190216791ef450 (patch) | |
tree | 96110e3e49b7ec43fdb2b03bf89e1acac71b702a /db/instance.h | |
parent | 2949494e2c245461f9a91b3e705aec966f0109ed (diff) | |
download | mongo-471fd7da06644d80c906e2ac69190216791ef450.tar.gz |
added option paral to call to specify server address where was sent if different
Diffstat (limited to 'db/instance.h')
-rw-r--r-- | db/instance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h index 1c7e6105453..b9b1fe5921b 100644 --- a/db/instance.h +++ b/db/instance.h @@ -127,7 +127,7 @@ namespace mongo { virtual string getServerAddress() const { return "localhost"; // TODO: should this have the port? } - virtual bool call( Message &toSend, Message &response, bool assertOk=true ); + virtual bool call( Message &toSend, Message &response, bool assertOk=true , string * actualServer = 0 ); virtual void say( Message &toSend ); virtual void sayPiggyBack( Message &toSend ) { // don't need to piggy back when connected locally |