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> 38 POINTER_DEFINITIONS(BeaconHandler);
46 virtual ~BeaconHandler();
58 epics::pvData::int8 remoteTransportRevision,
59 epics::pvData::TimeStamp* timestamp,
68 Context::weak_pointer _context;
75 epics::pvData::Mutex _mutex;
79 ServerGUID _serverGUID;
83 epics::pvData::int16 _serverChangeCount;
98 bool updateBeacon(epics::pvData::int8 remoteTransportRevision,
99 epics::pvData::TimeStamp* timestamp,
100 ServerGUID
const &guid,
101 epics::pvData::int16 sequentalID,
102 epics::pvData::int16 changeCount);
BeaconHandler(Context::shared_pointer const &context, const osiSockAddr *responseFrom)
Constructor.
virtual void authNZMessage(epics::pvData::PVStructure::shared_pointer const &data)=0
Pass data to the active security plug-in session.
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...