MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | Static Public Member Functions | List of all members
encrypto::motion::communication::DummyTransport Class Reference

#include <dummy_transport.h>

Inheritance diagram for encrypto::motion::communication::DummyTransport:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::communication::DummyTransport:
Collaboration graph
[legend]

Public Member Functions

 DummyTransport (DummyTransport &&other)
 
void SendMessage (std::vector< std::uint8_t > &&message) override
 
void SendMessage (const std::vector< std::uint8_t > &message) override
 
bool Available () const override
 
std::optional< std::vector< std::uint8_t > > ReceiveMessage () override
 
void ShutdownSend () override
 
void Shutdown () override
 
- Public Member Functions inherited from encrypto::motion::communication::Transport
 Transport ()=default
 
 Transport (Transport &&other)=default
 
virtual ~Transport ()=default
 
const TransportStatisticsGetStatistics () const
 
void ResetStatistics ()
 

Static Public Member Functions

static std::pair< std::unique_ptr< DummyTransport >, std::unique_ptr< DummyTransport > > MakeTransportPair ()
 

Additional Inherited Members

- Protected Attributes inherited from encrypto::motion::communication::Transport
TransportStatistics statistics_
 

Constructor & Destructor Documentation

◆ DummyTransport()

encrypto::motion::communication::DummyTransport::DummyTransport ( DummyTransport &&  other)
Here is the caller graph for this function:

Member Function Documentation

◆ Available()

bool encrypto::motion::communication::DummyTransport::Available ( ) const
overridevirtual

◆ MakeTransportPair()

std::pair< std::unique_ptr< DummyTransport >, std::unique_ptr< DummyTransport > > encrypto::motion::communication::DummyTransport::MakeTransportPair ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReceiveMessage()

std::optional< std::vector< std::uint8_t > > encrypto::motion::communication::DummyTransport::ReceiveMessage ( )
overridevirtual

◆ SendMessage() [1/2]

void encrypto::motion::communication::DummyTransport::SendMessage ( const std::vector< std::uint8_t > &  message)
overridevirtual

◆ SendMessage() [2/2]

void encrypto::motion::communication::DummyTransport::SendMessage ( std::vector< std::uint8_t > &&  message)
overridevirtual

◆ Shutdown()

void encrypto::motion::communication::DummyTransport::Shutdown ( )
overridevirtual

Implements encrypto::motion::communication::Transport.

Here is the call graph for this function:

◆ ShutdownSend()

void encrypto::motion::communication::DummyTransport::ShutdownSend ( )
overridevirtual

Implements encrypto::motion::communication::Transport.

Here is the caller graph for this function:

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