22 #ifndef Hypertable_Master_OperationRegisterServer_h
23 #define Hypertable_Master_OperationRegisterServer_h
46 std::vector<SystemVariable::Spec> &specs)
const;
48 std::vector<SystemVariable::Spec> &specs,
49 uint8_t **bufp)
const;
63 #endif // Hypertable_Master_OperationRegisterServer_h
Abstract base class for ephemeral operations.
std::shared_ptr< RangeServerConnection > RangeServerConnectionPtr
std::string String
A String is simply a typedef to std::string.
Declarations for SystemVariable.
void execute() override
Executes (carries out) the operation.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
virtual void encode_response(uint64_t generation, std::vector< SystemVariable::Spec > &specs, uint8_t **bufp) const
Request parameters for register server operation.
OperationRegisterServer(ContextPtr &context, EventPtr &event)
virtual ~OperationRegisterServer()
Declarations for OperationEphemeral.
virtual size_t encoded_response_length(uint64_t generation, std::vector< SystemVariable::Spec > &specs) const
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
const String label() override
Human readable label for operation.
Encapsulate an internet address.
void display_state(std::ostream &os) override
Write human readable operation state to output stream.
Lib::Master::Request::Parameters::RegisterServer m_params
Request parmaeters.
RangeServerConnectionPtr m_rsc
const String name() override
Name of operation used for exclusivity.
Declarations for RegisterServer request parameters.