MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
43 void ReceivedMessage(std::size_t, std::vector<std::uint8_t>&& message)
override;
46 std::size_t party_id_;
47 std::shared_ptr<Logger> logger_;
49 std::unordered_map<std::size_t, ReusableFiberPromise<std::vector<std::uint8_t>>>
50 output_message_promises_;
52 std::mutex output_message_promises_mutex_;
OutputMessageHandler(std::size_t party_id, std::shared_ptr< Logger > logger)
Definition: output_message_handler.cpp:34
ReusableFiberFuture< std::vector< std::uint8_t > > register_for_output_message(std::size_t gate_id)
Definition: output_message_handler.cpp:37
Definition: reusable_future.h:129
Definition: output_message_handler.h:33
void ReceivedMessage(std::size_t, std::vector< std::uint8_t > &&message) override
Definition: output_message_handler.cpp:61
const encrypto::motion::communication::Message * GetMessage(const void *buf)
Definition: message_generated.h:146
ReusableFuture< R, MutexType, ConditionVariableType > get_future()
Definition: reusable_future.h:242
const encrypto::motion::communication::OutputMessage * GetOutputMessage(const void *buf)
Definition: output_message_generated.h:136
Definition: algorithm_description.cpp:35
Definition: message_handler.h:38
constexpr bool kVerboseDebug
Definition: constants.h:50
Definition: reusable_future.h:123