17 #ifndef __MESOS_V1_SCHEDULER_HPP__ 18 #define __MESOS_V1_SCHEDULER_HPP__ 54 virtual void send(
const Call& call) = 0;
56 virtual void reconnect() = 0;
77 const std::function<
void()>& connected,
78 const std::function<
void()>& disconnected,
79 const std::function<
void(
const std::queue<Event>&)>& received,
100 void send(
const Call& call)
override;
147 void reconnect()
override;
152 const std::string& master,
154 const std::function<
void()>& connected,
155 const std::function<
void()>& disconnected,
156 const std::function<
void(
const std::queue<Event>&)>& received,
158 const Option<std::shared_ptr<mesos::master::detector::MasterDetector>>&
178 #endif // __MESOS_V1_SCHEDULER_HPP__
ContentType
Definition: http.hpp:43
Definition: master.hpp:27
mesos::v1::scheduler::Call Call
Definition: mesos.hpp:2851
Definition: scheduler.hpp:70
mesos::v1::scheduler::Mesos Mesos
Definition: mesos.hpp:2853
Definition: scheduler.hpp:49
Result< Process > process(pid_t pid)
Definition: freebsd.hpp:30
virtual ~MesosBase()
Definition: scheduler.hpp:53
Definition: future.hpp:58
Future< size_t > send(const int_fd &fd, const void *buf, size_t size)