#include <communication_layer.h>
◆ MessageHandlerFunction
◆ CommunicationLayer() [1/2]
encrypto::motion::communication::CommunicationLayer::CommunicationLayer |
( |
std::size_t |
my_id, |
|
|
std::vector< std::unique_ptr< Transport >> && |
transports |
|
) |
| |
◆ CommunicationLayer() [2/2]
encrypto::motion::communication::CommunicationLayer::CommunicationLayer |
( |
std::size_t |
my_id, |
|
|
std::vector< std::unique_ptr< Transport >> && |
transports, |
|
|
std::shared_ptr< Logger > |
logger |
|
) |
| |
◆ ~CommunicationLayer()
encrypto::motion::communication::CommunicationLayer::~CommunicationLayer |
( |
| ) |
|
◆ BroadcastMessage() [1/4]
void encrypto::motion::communication::CommunicationLayer::BroadcastMessage |
( |
const std::vector< std::uint8_t > & |
message | ) |
|
◆ BroadcastMessage() [2/4]
void encrypto::motion::communication::CommunicationLayer::BroadcastMessage |
( |
flatbuffers::FlatBufferBuilder && |
message_builder | ) |
|
◆ BroadcastMessage() [3/4]
void encrypto::motion::communication::CommunicationLayer::BroadcastMessage |
( |
std::shared_ptr< const std::vector< std::uint8_t >> |
message | ) |
|
◆ BroadcastMessage() [4/4]
void encrypto::motion::communication::CommunicationLayer::BroadcastMessage |
( |
std::vector< std::uint8_t > && |
message | ) |
|
◆ DeregisterMessageHandler()
void encrypto::motion::communication::CommunicationLayer::DeregisterMessageHandler |
( |
const std::vector< MessageType > & |
message_types | ) |
|
◆ GetFallbackMessageHandler()
MessageHandler & encrypto::motion::communication::CommunicationLayer::GetFallbackMessageHandler |
( |
std::size_t |
party_id | ) |
|
◆ GetMessageHandler()
MessageHandler & encrypto::motion::communication::CommunicationLayer::GetMessageHandler |
( |
std::size_t |
party_id, |
|
|
MessageType |
type |
|
) |
| |
◆ GetMyId()
std::size_t encrypto::motion::communication::CommunicationLayer::GetMyId |
( |
| ) |
const |
|
inline |
◆ GetNumberOfParties()
std::size_t encrypto::motion::communication::CommunicationLayer::GetNumberOfParties |
( |
| ) |
const |
|
inline |
◆ GetTransportStatistics()
std::vector< TransportStatistics > encrypto::motion::communication::CommunicationLayer::GetTransportStatistics |
( |
| ) |
const |
|
noexcept |
◆ RegisterFallbackMessageHandler()
void encrypto::motion::communication::CommunicationLayer::RegisterFallbackMessageHandler |
( |
MessageHandlerFunction |
handler_factory | ) |
|
◆ RegisterMessageHandler()
void encrypto::motion::communication::CommunicationLayer::RegisterMessageHandler |
( |
MessageHandlerFunction |
handler_factory, |
|
|
const std::vector< MessageType > & |
message_types |
|
) |
| |
◆ SendMessage() [1/4]
void encrypto::motion::communication::CommunicationLayer::SendMessage |
( |
std::size_t |
party_id, |
|
|
const std::vector< std::uint8_t > & |
message |
|
) |
| |
◆ SendMessage() [2/4]
void encrypto::motion::communication::CommunicationLayer::SendMessage |
( |
std::size_t |
party_id, |
|
|
flatbuffers::FlatBufferBuilder && |
message_builder |
|
) |
| |
◆ SendMessage() [3/4]
void encrypto::motion::communication::CommunicationLayer::SendMessage |
( |
std::size_t |
party_id, |
|
|
std::shared_ptr< const std::vector< std::uint8_t >> |
message |
|
) |
| |
◆ SendMessage() [4/4]
void encrypto::motion::communication::CommunicationLayer::SendMessage |
( |
std::size_t |
party_id, |
|
|
std::vector< std::uint8_t > && |
message |
|
) |
| |
◆ SetLogger()
void encrypto::motion::communication::CommunicationLayer::SetLogger |
( |
std::shared_ptr< Logger > |
logger | ) |
|
◆ Shutdown()
void encrypto::motion::communication::CommunicationLayer::Shutdown |
( |
| ) |
|
◆ Start()
void encrypto::motion::communication::CommunicationLayer::Start |
( |
| ) |
|
◆ Synchronize()
void encrypto::motion::communication::CommunicationLayer::Synchronize |
( |
| ) |
|
The documentation for this class was generated from the following files: