8 #include "Arp/System/Nm/LongStringPayloadField.hpp"
9 #include "Arp/System/Nm/SpecializedPayload.hpp"
12 namespace Arp {
namespace System {
namespace NmPayload {
namespace NotificationLogger
22 using ArgumentsType = std::tuple<const char*, const char*, const char*, const char*>;
24 using SpecializedPayload::SpecializedPayload;
47 String BuildFormatString()
const;
51 const size_t indexArchiveName = this->AddField<String>();
52 const size_t indexFilePath = this->AddField<String>();
53 const size_t indexBackupFilePath = this->AddField<String>();
Payload class for a message regarding the a failed integrity check of a NotificationLogger archive
Definition: StorageFileIntegrityCheckPayload.hpp:18
std::tuple< const char *, const char *, const char *, const char * > ArgumentsType
ArgumentsType to be used with NonBlockingNotificationRegistration3
Definition: StorageFileIntegrityCheckPayload.hpp:22
StorageFileIntegrityCheckPayload(const String &archiveName, const String &filePath, const String &backupFilePath, const String &message)
Creates a payload object
String GetBackupFilePath() const
Returns the path of the backup file
String GetFilePath() const
Returns the name of the storage file
StorageFileIntegrityCheckPayload(const ArgumentsType &args)
Creates a payload object
String GetArchiveName() const
Returns the archive name
String GetMessage() const
Returns the error message from the integrity check
Definition: LongStringPayloadField.hpp:17
Base class for custom Payload classes
Definition: SpecializedPayload.hpp:43
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API