17 #ifndef __MASTER_DETECTOR_STANDALONE_HPP__
18 #define __MASTER_DETECTOR_STANDALONE_HPP__
35 class StandaloneMasterDetectorProcess;
63 StandaloneMasterDetectorProcess* process;
70 #endif // __MASTER_DETECTOR_STANDALONE_HPP__
StandaloneMasterDetector()
virtual ~StandaloneMasterDetector()
An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg...
Definition: pid.hpp:39
An abstraction of a Master detector which can be used to detect the leading master from a group...
Definition: detector.hpp:38
virtual process::Future< Option< MasterInfo > > detect(const Option< MasterInfo > &previous=None())
Returns MasterInfo after an election has occurred and the elected master is different than that speci...
void appoint(const Option< MasterInfo > &leader)
Definition: standalone.hpp:40
Definition: future.hpp:57