17 #ifndef __V0_V1EXECUTOR_HPP__ 18 #define __V0_V1EXECUTOR_HPP__ 34 class V0ToV1AdapterProcess;
42 const std::function<
void(
void)>& connected,
44 const std::function<
void(
const std::queue<Event>&)>& received);
50 const mesos::ExecutorInfo& executorInfo,
51 const mesos::FrameworkInfo& frameworkInfo,
52 const mesos::SlaveInfo& slaveInfo)
override;
56 const mesos::SlaveInfo& slaveInfo)
override;
60 const mesos::TaskInfo& task)
override;
66 const mesos::TaskID& taskId)
override;
70 const std::string& data)
override;
76 const std::string& message)
override;
78 void send(
const Call& call)
override;
89 #endif // __V0_V1EXECUTOR_HPP__ void killTask(ExecutorDriver *driver, const mesos::TaskID &taskId) override
Definition: v0_v1executor.hpp:38
void reregistered(ExecutorDriver *driver, const mesos::SlaveInfo &slaveInfo) override
Definition: executor.hpp:147
~V0ToV1Adapter() override
mesos::v1::scheduler::Call Call
Definition: mesos.hpp:2851
Definition: executor.hpp:212
void frameworkMessage(ExecutorDriver *driver, const std::string &data) override
void error(ExecutorDriver *driver, const std::string &message) override
V0ToV1Adapter(const std::function< void(void)> &connected, const std::function< void(void)> &disconnected, const std::function< void(const std::queue< Event > &)> &received)
void shutdown(ExecutorDriver *driver) override
void launchTask(ExecutorDriver *driver, const mesos::TaskInfo &task) override
Definition: executor.hpp:75
Definition: executor.hpp:48
Definition: executor.hpp:39
void disconnected(ExecutorDriver *driver) override
void registered(ExecutorDriver *driver, const mesos::ExecutorInfo &executorInfo, const mesos::FrameworkInfo &frameworkInfo, const mesos::SlaveInfo &slaveInfo) override
void send(const Call &call) override