Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
SecondaryTcpServer Class Reference

Listens on a socket, decodes calls (ASN.1) and forwards them to an Uptane Secondary implementation. More...

#include <secondary_tcp_server.h>

Public Member Functions

 SecondaryTcpServer (Uptane::SecondaryInterface &secondary, const std::string &primary_ip, in_port_t primary_port, in_port_t port=0)
 
 SecondaryTcpServer (Uptane::SecondaryInterface &secondary, in_port_t port=0)
 
 SecondaryTcpServer (const SecondaryTcpServer &)=delete
 
SecondaryTcpServeroperator= (const SecondaryTcpServer &)=delete
 
void run ()
 Accept connections on the socket, decode requests and respond using the secondary implementation.
 
void stop ()
 
in_port_t port () const
 

Detailed Description

Listens on a socket, decodes calls (ASN.1) and forwards them to an Uptane Secondary implementation.

Definition at line 15 of file secondary_tcp_server.h.


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