42 m_location(location) {
64 HT_FATALF(
"Unrecognized state %d", state);
72 return "OperationRegisterServerBlocker";
76 return "RegisterServerBlocker(" +
m_location +
")";
Abstract base class for ephemeral operations.
std::string String
A String is simply a typedef to std::string.
virtual const String name()
Returns name of operation ("OperationRegisterServerBlocker")
Declarations for OperationProcessor.
virtual void execute()
Carries out a range server recovery operation.
const char * get_text(int32_t state)
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
void set_state(int32_t state)
Compatibility Macros for C/C++.
Declarations for OperationRegisterServerBlocker.
#define HT_FATALF(msg,...)
long long int Lld
Shortcut for printf formats.
DependencySet m_obstructions
Set of obstructions.
#define HT_INFOF(msg,...)
String m_location
Server proxy name.
void complete_ok(std::vector< MetaLog::EntityPtr > &additional)
Error codes, Exception handling, error logging.
virtual const String label()
Returns descriptive label for operation.
OperationRegisterServerBlocker(ContextPtr &context, const String &location)
Constructor.