7 #ifndef BEACONHANDLER_H
8 #define BEACONHANDLER_H
10 #ifdef epicsExportSharedSymbols
11 # define beaconHandlerEpicsExportSharedSymbols
12 # undef epicsExportSharedSymbols
17 #include <pv/timeStamp.h>
20 #ifdef beaconHandlerEpicsExportSharedSymbols
21 # define epicsExportSharedSymbols
22 # undef beaconHandlerEpicsExportSharedSymbols
25 #include <pv/pvaDefs.h>
26 #include <pv/remote.h>
27 #include <pv/pvAccess.h>
44 const osiSockAddr* responseFrom);
58 epics::pvData::int8 remoteTransportRevision,
59 epics::pvData::TimeStamp* timestamp,
61 epics::pvData::int16 sequentalID,
62 epics::pvData::int16 changeCount,
63 const epics::pvData::PVFieldPtr& data);
68 Context::weak_pointer _context;
75 epics::pvData::Mutex _mutex;
83 epics::pvData::int16 _serverChangeCount;
98 bool updateBeacon(epics::pvData::int8 remoteTransportRevision,
99 epics::pvData::TimeStamp* timestamp,
101 epics::pvData::int16 sequentalID,
102 epics::pvData::int16 changeCount);
BeaconHandler(Context::shared_pointer const &context, const osiSockAddr *responseFrom)
Constructor.
void beaconNotify(osiSockAddr *from, epics::pvData::int8 remoteTransportRevision, epics::pvData::TimeStamp *timestamp, ServerGUID const &guid, epics::pvData::int16 sequentalID, epics::pvData::int16 changeCount, const epics::pvData::PVFieldPtr &data)
Update beacon period and do analitical checks (server restared, routing problems, etc...