|
Electroneum
|
#include <transport.hpp>

Public Member Functions | |
| Transport () | |
| virtual | ~Transport ()=default |
| virtual bool | ping () |
| virtual std::string | get_path () const |
| virtual void | enumerate (t_transport_vect &res) |
| virtual void | open () |
| virtual void | close () |
| virtual void | write (const google::protobuf::Message &req)=0 |
| virtual void | read (std::shared_ptr< google::protobuf::Message > &msg, messages::MessageType *msg_type=nullptr)=0 |
| virtual std::shared_ptr< Transport > | find_debug () |
| virtual void | write_chunk (const void *buff, size_t size) |
| virtual size_t | read_chunk (void *buff, size_t size) |
| virtual std::ostream & | dump (std::ostream &o) const |
Protected Member Functions | |
| virtual bool | pre_open () |
| virtual bool | pre_close () |
Protected Attributes | |
| long | m_open_counter |
Definition at line 137 of file transport.hpp.
| hw::trezor::Transport::Transport | ( | ) |
Definition at line 275 of file transport.cpp.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
Definition at line 146 of file transport.hpp.
|
inlinevirtual |
Reimplemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
Definition at line 153 of file transport.hpp.

|
inlinevirtual |
Reimplemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
Definition at line 144 of file transport.hpp.
|
inlinevirtual |
Reimplemented in hw::trezor::UdpTransport.
Definition at line 149 of file transport.hpp.
|
inlinevirtual |
Reimplemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
Definition at line 143 of file transport.hpp.
|
inlinevirtual |
Reimplemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
Definition at line 145 of file transport.hpp.
|
inlinevirtual |
Reimplemented in hw::trezor::UdpTransport.
Definition at line 142 of file transport.hpp.
|
protectedvirtual |
Definition at line 295 of file transport.cpp.

|
protectedvirtual |
Definition at line 279 of file transport.cpp.

|
pure virtual |
Implemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
|
inlinevirtual |
Reimplemented in hw::trezor::UdpTransport.
Definition at line 152 of file transport.hpp.
|
pure virtual |
Implemented in hw::trezor::BridgeTransport, and hw::trezor::UdpTransport.
|
inlinevirtual |
|
protected |
Definition at line 155 of file transport.hpp.