28 #ifndef Hypertable_Master_OperationSetState_h
29 #define Hypertable_Master_OperationSetState_h
124 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
126 void decode_state_old(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
151 #endif // Hypertable_Master_OperationSetState_h
Request parameters for set state operation.
std::string String
A String is simply a typedef to std::string.
Declarations for SystemVariable.
Declarations for Operation.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
size_t encoded_length_state() const override
Returns length of encoded state.
virtual ~OperationSetState()
Destructor.
uint8_t encoding_version_state() const override
Returns version of encoding format of state.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Decodes operation state.
OperationSetState(ContextPtr &context)
Constructor.
std::vector< SystemVariable::Spec > m_specs
Current system state variables.
Carries out a set variables operation.
const String label() override
Returns textual string describing operation plus state.
const String name() override
Returns operation name (OperationSetState)
uint64_t m_generation
Generation number of system state variables (m_specs)a.
void initialize_dependencies()
Initializes operation dependencies.
void execute() override
Executes "set state" operation.
Abstract base class for master operations.
Lib::Master::Request::Parameters::SetState m_params
Request parmaeters.
Declarations for SetState request parameters.
void display_state(std::ostream &os) override
Displays textual representation of object state.
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
void encode_state(uint8_t **bufp) const override
Encodes operation state.
String extensions and helpers: sets, maps, append operators etc.