randolf.ca  1.00
Randolf Richardson's C++ classes
Loading...
Searching...
No Matches
rsocket_group_rc
1#pragma once
2
3#include <randolf/rsocket>
4
5namespace randolf {
6
7 /*======================================================================*//**
8 @brief
9 Internal structure that @ref rsocket_group uses to communicate results from
10 mass operations across multiple rsocket objects.
11 @see rsocket_group
12 *///=========================================================================
13 struct rsocket_group_rc {
14 /// Pointer to instantiated rsocket object
15 rsocket* r = nullptr;
16 /// Number of bytes that were sent
17 int bytes_tx = 0;
18 /// Pointer to exception that was thrown (if not set to nullptr)
19 std::exception* e = nullptr;
20 }; // -x- struct rsocket_group_rc -x-
21
22}; // -x- namespace randolf -x-