Base module

TransactionState

[State]({#ref classicy_1_1State #}) machine states for [PacketTransaction]({#ref classicy_1_1PacketTransaction #}).

TransactionState

#include <icy/packettransaction.h>

Inherits: State

State machine states for PacketTransaction.

Public Methods

ReturnNameDescription
std::stringstr const inline#### Parameters

str

const inline

inline std::string str(unsigned int id) const

Parameters

  • id A [TransactionState::Type](#type-2) value.

Returns

Human-readable name of the state.

Public Types

NameDescription
Type

Type

enum Type
ValueDescription
Waiting
Running
Success
Cancelled
Failed