diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-01-13 12:53:00 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-01-13 12:53:00 -0500 |
commit | 4e60ec0df1ef54a02bea0d5300e89e51efe7a58d (patch) | |
tree | 4b5d058af6eca1850869bf7a2f7c9795e571ccac /db/instance.h | |
parent | adcb736a7a6a497fbdf1eae5d3169bcc23b074a0 (diff) | |
download | mongo-4e60ec0df1ef54a02bea0d5300e89e51efe7a58d.tar.gz |
sayPiggyBack/piggyBack
not implemented yet, just passes through to say
Diffstat (limited to 'db/instance.h')
-rw-r--r-- | db/instance.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/instance.h b/db/instance.h index e837cabe190..ce7e23d9d6d 100644 --- a/db/instance.h +++ b/db/instance.h @@ -94,4 +94,8 @@ class DBDirectClient : public DBClientBase { virtual string toString() { return "DBDirectClient"; } virtual bool call( Message &toSend, Message &response, bool assertOk=true ); virtual void say( Message &toSend ); + virtual void sayPiggyBack( Message &toSend ){ + // don't need to piggy back when connected locally + return say( toSend ); + } }; |