7 #ifndef __BeaconClientI_h__ 8 #define __BeaconClientI_h__ 17 uint16_t gdRequestPort;
31 virtual bool registerWithBeacon(
const BeaconConfig &config,
36 virtual void shutdown() = 0;
39 virtual uint8_t getID() = 0;
43 virtual int64_t getTimeOffset() = 0;
47 virtual int64_t getBeaconTime() = 0;
50 virtual int64_t getLatency() = 0;
53 virtual bool isListUpdated() = 0;
56 virtual void getList(std::list<Node> ®isteredNode) = 0;
60 virtual bool isBeaconAlive() = 0;
66 virtual bool dictionaryGet(
67 std::vector<std::pair<fe::String,fe::String>> &list) = 0;
70 virtual bool dictionarySet(
71 const std::vector<std::pair<fe::String,fe::String>> &list) = 0;
75 virtual bool dictionaryUnset(
76 const std::vector<std::pair<fe::String,fe::String>> &list) = 0;
79 virtual bool dictionaryClear() = 0;
83 virtual bool dictionaryGetRegex(
const fe::String searchString,
84 std::vector<std::pair<fe::String,fe::String>> &list) = 0;
87 virtual uint64_t dictionaryGetUpdateCounter() = 0;
92 #endif // __BeaconClientI_h__ Client Node interface to Beacon.
Definition: BeaconClientI.h:25
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
Definition: BeaconClient.cc:16
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192