onboardapi  9.10.0
by Rheinmetall
M_Watchdog::IService Class Reference

Public Member Functions

virtual ~IService ()
 
virtual void ConfigWatch (std::string const &KeyWatchedClientId, std::string const &KeyAssociatedServiceName, M_Common::StringListType const &WatchedOperations, bool IsRemoved)
 

Detailed Description

Watchdog service interface. Contains operations that a client can command the watchdog service to perform.

Watchdog Client Liveliness Monitoring

Constructor & Destructor Documentation

◆ ~IService()

M_Watchdog::IService::~IService ( )
virtual

Member Function Documentation

◆ ConfigWatch()

void M_Watchdog::IService::ConfigWatch ( std::string const &  KeyWatchedClientId,
std::string const &  KeyAssociatedServiceName,
M_Common::StringListType const &  WatchedOperations,
bool  IsRemoved 
)
virtual

Configure to watch a specified function.

Parameters
KeyWatchedClientIdIdentifies the client whose operations are to be watched.
KeyAssociatedServiceNameIdentifies the service name corresponding to the client that executes the operations to be watched.
WatchedOperationsList of operations issued by the client to be watched. Note: If empty, all watchable operations should be watched.
IsRemovedIndicates to the service whether the specific watch should be removed.