22 #ifndef Hypertable_Master_OperationStatus_h
23 #define Hypertable_Master_OperationStatus_h
32 using namespace Lib::Master;
62 #endif // Hypertable_Master_OperationStatus_h
Declarations for Status response parameters.
const String name() override
Name of operation used for exclusivity.
void display_state(std::ostream &os) override
Write human readable operation state to output stream.
Abstract base class for ephemeral operations.
std::string String
A String is simply a typedef to std::string.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Declarations for OperationEphemeral.
OperationStatus(ContextPtr &context, EventPtr &event)
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
virtual ~OperationStatus()
Response parameters for status operation.
size_t encoded_result_length() const override
Length of encoded operation result.
void encode_result(uint8_t **bufp) const override
Encode operation result.
Response::Parameters::Status m_params
const String label() override
Human readable label for operation.
void execute() override
Executes (carries out) the operation.