Android-cuttlefish cvd tool
Public Member Functions | List of all members
BlockingConnection Struct Referenceabstract

#include <transport.h>

Inheritance diagram for BlockingConnection:
Inheritance graph
[legend]

Public Member Functions

 BlockingConnection ()=default
 
 BlockingConnection (const BlockingConnection &copy)=delete
 
 BlockingConnection (BlockingConnection &&move)=delete
 
virtual ~BlockingConnection ()=default
 
virtual bool Read (apacket *packet)=0
 
virtual bool Write (apacket *packet)=0
 
virtual bool DoTlsHandshake (RSA *key, std::string *auth_key=nullptr)=0
 
virtual void Close ()=0
 
virtual void Reset ()=0
 

Constructor & Destructor Documentation

◆ BlockingConnection() [1/3]

BlockingConnection::BlockingConnection ( )
default

◆ BlockingConnection() [2/3]

BlockingConnection::BlockingConnection ( const BlockingConnection copy)
delete

◆ BlockingConnection() [3/3]

BlockingConnection::BlockingConnection ( BlockingConnection &&  move)
delete

◆ ~BlockingConnection()

virtual BlockingConnection::~BlockingConnection ( )
virtualdefault

Member Function Documentation

◆ Close()

virtual void BlockingConnection::Close ( )
pure virtual

◆ DoTlsHandshake()

virtual bool BlockingConnection::DoTlsHandshake ( RSA *  key,
std::string *  auth_key = nullptr 
)
pure virtual

Implemented in UsbConnection, and FdConnection.

◆ Read()

virtual bool BlockingConnection::Read ( apacket packet)
pure virtual

Implemented in UsbConnection, and FdConnection.

◆ Reset()

virtual void BlockingConnection::Reset ( )
pure virtual

Implemented in UsbConnection, and FdConnection.

◆ Write()

virtual bool BlockingConnection::Write ( apacket packet)
pure virtual

Implemented in UsbConnection, and FdConnection.


The documentation for this struct was generated from the following file: