Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
Uptane::IpUptaneSecondary Class Reference
Inheritance diagram for Uptane::IpUptaneSecondary:
[legend]
Collaboration diagram for Uptane::IpUptaneSecondary:
[legend]

Public Member Functions

 IpUptaneSecondary (const std::string &address, unsigned short port, EcuSerial serial, HardwareIdentifier hw_id, PublicKey pub_key)
 
std::string Type () const override
 
EcuSerial getSerial () const override
 
Uptane::HardwareIdentifier getHwId () const override
 
PublicKey getPublicKey () const override
 
bool putMetadata (const RawMetaPack &meta_pack) override
 
int32_t getRootVersion (bool) const override
 
bool putRoot (const std::string &, bool) override
 
bool sendFirmware (const std::string &data) override
 
data::ResultCode::Numeric install (const std::string &target_name) override
 
Manifest getManifest () const override
 
bool ping () const override
 
- Public Member Functions inherited from Uptane::SecondaryInterface
 SecondaryInterface (const SecondaryInterface &)=delete
 
SecondaryInterfaceoperator= (const SecondaryInterface &)=delete
 

Static Public Member Functions

static SecondaryInterface::Ptr connectAndCreate (const std::string &address, unsigned short port)
 
static SecondaryInterface::Ptr create (const std::string &address, unsigned short port, int con_fd)
 
static SecondaryInterface::Ptr connectAndCheck (const std::string &address, unsigned short port, EcuSerial serial, HardwareIdentifier hw_id, PublicKey pub_key)
 

Additional Inherited Members

- Public Types inherited from Uptane::SecondaryInterface
using Ptr = std::shared_ptr< SecondaryInterface >
 

Detailed Description

Definition at line 11 of file ipuptanesecondary.h.


The documentation for this class was generated from the following files: