17 #ifndef PROXY_SCHEDULER_HPP 18 #define PROXY_SCHEDULER_HPP 32 struct MesosSchedulerDriverImpl;
45 const FrameworkID& frameworkId,
46 const MasterInfo& masterInfo);
48 const MasterInfo& masterInfo);
51 const std::vector<Offer>& offers);
55 const ExecutorID& executorId,
56 const SlaveID& slaveId,
57 const std::string& data);
60 const ExecutorID& executorId,
61 const SlaveID& slaveId,
72 #endif // PROXY_SCHEDULER_HPP virtual void statusUpdate(SchedulerDriver *driver, const TaskStatus &status)
Result< ProcessStatus > status(pid_t pid)
Definition: proc.hpp:166
ProxyScheduler(MesosSchedulerDriverImpl *_impl)
Definition: proxy_scheduler.hpp:40
Python object structure for MesosSchedulerDriverImpl objects.
Definition: mesos_scheduler_driver_impl.hpp:30
Definition: scheduler.hpp:186
virtual void disconnected(SchedulerDriver *driver)
virtual void executorLost(SchedulerDriver *driver, const ExecutorID &executorId, const SlaveID &slaveId, int status)
virtual void resourceOffers(SchedulerDriver *driver, const std::vector< Offer > &offers)
Definition: scheduler.hpp:70
virtual void frameworkMessage(SchedulerDriver *driver, const ExecutorID &executorId, const SlaveID &slaveId, const std::string &data)
virtual void offerRescinded(SchedulerDriver *driver, const OfferID &offerId)
virtual void error(SchedulerDriver *driver, const std::string &message)
virtual ~ProxyScheduler()
Definition: proxy_scheduler.hpp:42
Proxy Scheduler implementation that will call into Python.
Definition: proxy_scheduler.hpp:37
virtual void slaveLost(SchedulerDriver *driver, const SlaveID &slaveId)
virtual void reregistered(SchedulerDriver *driver, const MasterInfo &masterInfo)
virtual void registered(SchedulerDriver *driver, const FrameworkID &frameworkId, const MasterInfo &masterInfo)