diff options
Diffstat (limited to 'slobrok/src/tests/oldapi/mirror.h')
-rw-r--r-- | slobrok/src/tests/oldapi/mirror.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/slobrok/src/tests/oldapi/mirror.h b/slobrok/src/tests/oldapi/mirror.h index b83392dec5e..1f0db564cae 100644 --- a/slobrok/src/tests/oldapi/mirror.h +++ b/slobrok/src/tests/oldapi/mirror.h @@ -1,5 +1,6 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#pragma once +#ifndef Old_MIRROR_H +#define Old_MIRROR_H #include <vespa/fnet/frt/frt.h> #include <vespa/vespalib/util/gencnt.h> @@ -85,7 +86,10 @@ public: **/ ~MirrorOld(); + // Inherit doc from IMirrorOld. SpecList lookup(const std::string & pattern) const override; + + // Inherit doc from IMirrorOld. uint32_t updates() const override { return _updates.getAsInt(); } /** @@ -106,7 +110,10 @@ private: MirrorOld(const MirrorOld &); MirrorOld &operator=(const MirrorOld &); + /** from FNET_Task, polls slobrok **/ void PerformTask() override; + + /** from FRT_IRequestWait **/ void RequestDone(FRT_RPCRequest *req) override; FRT_Supervisor &_orb; @@ -124,3 +131,5 @@ private: } // namespace api } // namespace slobrok + +#endif |