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 @author Randolf Richardson
12 @version 1.00
13 @par History
14 - 2023-Apr-30 v1.00 Initial version
15 @see rsocket_group
16 *///=========================================================================
17 struct rsocket_group_rc {
18 /// Pointer to instantiated rsocket object
19 rsocket* r = nullptr;
20 /// Number of bytes that were sent
21 int bytes_tx = 0;
22 /// Pointer to exception that was thrown (if not set to nullptr)
23 std::exception* e = nullptr;
24 }; // -x- struct rsocket_group_rc -x-
25
26}; // -x- namespace randolf -x-