Aktualizr
C++ SOTA Client
|
Public Member Functions | |
SecondaryMock (const Uptane::EcuSerial &serial, const Uptane::HardwareIdentifier &hdw_id, const PublicKey &pub_key, const Uptane::Manifest &manifest) | |
virtual std::string | Type () const |
virtual Uptane::EcuSerial | getSerial () const |
virtual Uptane::HardwareIdentifier | getHwId () const |
virtual PublicKey | getPublicKey () const |
virtual Uptane::Manifest | getManifest () const |
virtual bool | ping () const |
virtual bool | putMetadata (const Uptane::RawMetaPack &meta_pack) |
virtual int32_t | getRootVersion (bool director) const |
virtual bool | putRoot (const std::string &root, bool director) |
virtual bool | sendFirmware (const std::string &data) |
virtual data::ResultCode::Numeric | install (const std::string &target_name) |
![]() | |
SecondaryInterface (const SecondaryInterface &)=delete | |
SecondaryInterface & | operator= (const SecondaryInterface &)=delete |
Public Attributes | |
const Uptane::EcuSerial | _serial |
const Uptane::HardwareIdentifier | _hdw_id |
const PublicKey | _pub_key |
const Uptane::Manifest | _manifest |
Uptane::RawMetaPack | _metapack |
std::string | _data |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< SecondaryInterface > |
Definition at line 9 of file secondary_tcp_server_test.cc.