Monero
Loading...
Searching...
No Matches
hw::trezor::ProtocolV1 Class Reference

#include <transport.hpp>

Inheritance diagram for hw::trezor::ProtocolV1:
Collaboration diagram for hw::trezor::ProtocolV1:

Public Member Functions

 ProtocolV1 ()=default
virtual ~ProtocolV1 ()=default
void write (Transport &transport, const google::protobuf::Message &req) override
void read (Transport &transport, std::shared_ptr< google::protobuf::Message > &msg, messages::MessageType *msg_type=nullptr) override
Public Member Functions inherited from hw::trezor::Protocol
 Protocol ()=default
virtual ~Protocol ()=default
virtual void session_begin (Transport &transport)
virtual void session_end (Transport &transport)

Constructor & Destructor Documentation

◆ ProtocolV1()

hw::trezor::ProtocolV1::ProtocolV1 ( )
default

◆ ~ProtocolV1()

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

Member Function Documentation

◆ read()

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

Implements hw::trezor::Protocol.

◆ write()

void hw::trezor::ProtocolV1::write ( Transport & transport,
const google::protobuf::Message & req )
overridevirtual

Implements hw::trezor::Protocol.


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