17 #ifndef __MASTER_CONTENDER_STANDALONE_HPP__
18 #define __MASTER_CONTENDER_STANDALONE_HPP__
44 virtual void initialize(
const MasterInfo& masterInfo);
60 #endif // __MASTER_CONTENDER_STANDALONE_HPP__
virtual ~StandaloneMasterContender()
StandaloneMasterContender()
Definition: standalone.hpp:37
An abstraction for contending to be a leading master.
Definition: contender.hpp:40
virtual void initialize(const MasterInfo &masterInfo)
Initializes the contender with the MasterInfo of the master it contends on behalf of...
virtual process::Future< process::Future< Nothing > > contend()
Returns a Future<Nothing> once the contender has entered the contest (by obtaining a membership) and ...
Definition: standalone.hpp:34
Definition: future.hpp:57