7 #ifndef __BeaconTimeSync_h__ 8 #define __BeaconTimeSync_h__ 13 class FE_DL_EXPORT BeaconTimeSync :
virtual public BeaconTimeSyncI
17 virtual ~BeaconTimeSync();
20 virtual bool timeSyncWithBeacon(
const char *ipAddress,
21 const uint16_t requestPort)
override;
22 virtual int64_t getTimeOffset()
override;
23 virtual int64_t getBeaconTime()
override;
24 virtual int64_t getLatency()
override;
27 uint16_t m_requestPort;
28 uint16_t m_responsePort;
39 bool syncWithBeaconTime();
40 int64_t getCurrentTime();
42 void sendSyncRequest();
43 bool sendRequest(
const fe::ext::Messagegram &m);
49 #endif // __BeaconTimeSync_h__
Definition: BeaconClient.cc:16