seqeron
0.18.0
Loading...
Searching...
No Matches
Publish.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// What a publish did. `Refused` is local and permanent (T-3): the payload is above MAX_PAYLOAD_LENGTH, or the
4
// frame breaks §9.2 conditions 6 to 9, and nothing was offered, so retrying cannot succeed. `Declined` —
5
// transport back-pressure, a lost session, or the tracker holding or full — is the one a caller may retry.
6
//
7
// Here rather than in sequencer::client because it is what the app façades return, and a consumer that takes
8
// one should not have to reach into the layer below it. The Java twin is org.limitless.seqeron.protocol.Publish.
9
10
namespace
org::limitless::seqeron::protocol
{
11
12
enum class
Publish
13
{
14
Published
,
15
Refused
,
16
Declined
17
};
18
19
}
// namespace org::limitless::seqeron::protocol
org::limitless::seqeron::protocol
Definition
ProxyProtocol.hpp:8
org::limitless::seqeron::protocol::Publish
Publish
Definition
Publish.hpp:13
org::limitless::seqeron::protocol::Publish::Declined
@ Declined
org::limitless::seqeron::protocol::Publish::Published
@ Published
org::limitless::seqeron::protocol::Publish::Refused
@ Refused
org
limitless
seqeron
protocol
Publish.hpp
Generated by
1.9.8