17 #ifndef __MESOS_V1_SCHEDULER_HPP__
18 #define __MESOS_V1_SCHEDULER_HPP__
50 virtual void send(
const Call& call) = 0;
70 Mesos(
const std::string& master,
72 const std::function<
void()>& connected,
73 const std::function<
void()>& disconnected,
74 const std::function<
void(
const std::queue<Event>&)>& received,
95 virtual void send(
const Call& call)
override;
113 const std::string& master,
115 const std::function<
void()>& connected,
116 const std::function<
void()>& disconnected,
117 const std::function<
void(
const std::queue<Event>&)>& received,
119 const Option<std::shared_ptr<mesos::master::detector::MasterDetector>>&
132 MesosProcess* process;
139 #endif // __MESOS_V1_SCHEDULER_HPP__
ContentType
Definition: http.hpp:43
virtual void send(const Call &call)=0
Mesos(const std::string &master, ContentType contentType, const std::function< void()> &connected, const std::function< void()> &disconnected, const std::function< void(const std::queue< Event > &)> &received, const Option< Credential > &credential)
virtual void reconnect()=0
mesos::v1::scheduler::Call Call
Definition: mesos.hpp:2583
Definition: scheduler.hpp:65
virtual void send(const Call &call) override
virtual void reconnect() override
Definition: scheduler.hpp:45
Mesos & operator=(const Mesos &other)=delete
virtual ~MesosBase()
Definition: scheduler.hpp:49