Electroneum
Loading...
Searching...
No Matches
hw::trezor::Protocol Class Referenceabstract

#include <transport.hpp>

Inheritance diagram for hw::trezor::Protocol:

Public Member Functions

 Protocol ()=default
virtual ~Protocol ()=default
virtual void session_begin (Transport &transport)
virtual void session_end (Transport &transport)
virtual void write (Transport &transport, const google::protobuf::Message &req)=0
virtual void read (Transport &transport, std::shared_ptr< google::protobuf::Message > &msg, messages::MessageType *msg_type=nullptr)=0

Detailed Description

Definition at line 114 of file transport.hpp.

Constructor & Destructor Documentation

◆ Protocol()

hw::trezor::Protocol::Protocol ( )
default

◆ ~Protocol()

virtual hw::trezor::Protocol::~Protocol ( )
virtualdefault

Member Function Documentation

◆ read()

virtual void hw::trezor::Protocol::read ( Transport & transport,
std::shared_ptr< google::protobuf::Message > & msg,
messages::MessageType * msg_type = nullptr )
pure virtual

Implemented in hw::trezor::ProtocolV1.

Here is the call graph for this function:

◆ session_begin()

virtual void hw::trezor::Protocol::session_begin ( Transport & transport)
inlinevirtual

Definition at line 118 of file transport.hpp.

118{ };
Here is the call graph for this function:

◆ session_end()

virtual void hw::trezor::Protocol::session_end ( Transport & transport)
inlinevirtual

Definition at line 119 of file transport.hpp.

119{ };
Here is the call graph for this function:

◆ write()

virtual void hw::trezor::Protocol::write ( Transport & transport,
const google::protobuf::Message & req )
pure virtual

Implemented in hw::trezor::ProtocolV1.

Here is the call graph for this function:

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/device_trezor/trezor/transport.hpp