#include <SessionState.h>
Public Member Functions | |
SessionState (const SessionId &=SessionId(), const Configuration &=Configuration()) | |
const SessionId & | getId () const |
uint32_t | getTimeout () const |
void | setTimeout (uint32_t seconds) |
bool | operator== (const SessionId &other) const |
bool | operator== (const SessionState &other) const |
bool | hasState () const |
Public Attributes | |
SendState | sender |
State for commands sent. | |
ReceiveState | receiver |
State for commands received. | |
Classes | |
class | ReceiveState |
State for commands received. More... | |
class | SendState |
State for commands sent. More... |
We only issue/use contiguous confirmations, out-of-order confirmation is ignored. Out of order completion is fully supported.
Raises NotImplemented if the command point is set greater than the max currently received command data, either explicitly via session.command-point or implicitly via session.gap.
Partial replay is not supported, replay always begins on a command boundary, and we never confirm partial commands.
The SessionPoint data structure does store offsets so this class could be extended to support partial replay without source-incompatbile API changes.