Apache Mesos
Public Member Functions | List of all members
mesos::v1::executor::V0ToV1Adapter Class Reference

#include <v0_v1executor.hpp>

Inheritance diagram for mesos::v1::executor::V0ToV1Adapter:
mesos::Executor mesos::v1::executor::MesosBase

Public Member Functions

 V0ToV1Adapter (const std::function< void(void)> &connected, const std::function< void(void)> &disconnected, const std::function< void(const std::queue< Event > &)> &received)
 
 ~V0ToV1Adapter () override
 
void registered (ExecutorDriver *driver, const mesos::ExecutorInfo &executorInfo, const mesos::FrameworkInfo &frameworkInfo, const mesos::SlaveInfo &slaveInfo) override
 
void reregistered (ExecutorDriver *driver, const mesos::SlaveInfo &slaveInfo) override
 
void launchTask (ExecutorDriver *driver, const mesos::TaskInfo &task) override
 
void disconnected (ExecutorDriver *driver) override
 
void killTask (ExecutorDriver *driver, const mesos::TaskID &taskId) override
 
void frameworkMessage (ExecutorDriver *driver, const std::string &data) override
 
void shutdown (ExecutorDriver *driver) override
 
void error (ExecutorDriver *driver, const std::string &message) override
 
void send (const Call &call) override
 
- Public Member Functions inherited from mesos::Executor
virtual ~Executor ()
 
virtual void registered (ExecutorDriver *driver, const ExecutorInfo &executorInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)=0
 
virtual void reregistered (ExecutorDriver *driver, const SlaveInfo &slaveInfo)=0
 
virtual void launchTask (ExecutorDriver *driver, const TaskInfo &task)=0
 
virtual void killTask (ExecutorDriver *driver, const TaskID &taskId)=0
 
- Public Member Functions inherited from mesos::v1::executor::MesosBase
virtual ~MesosBase ()
 

Constructor & Destructor Documentation

mesos::v1::executor::V0ToV1Adapter::V0ToV1Adapter ( const std::function< void(void)> &  connected,
const std::function< void(void)> &  disconnected,
const std::function< void(const std::queue< Event > &)> &  received 
)
mesos::v1::executor::V0ToV1Adapter::~V0ToV1Adapter ( )
override

Member Function Documentation

void mesos::v1::executor::V0ToV1Adapter::disconnected ( ExecutorDriver driver)
overridevirtual

Implements mesos::Executor.

void mesos::v1::executor::V0ToV1Adapter::error ( ExecutorDriver driver,
const std::string &  message 
)
overridevirtual

Implements mesos::Executor.

void mesos::v1::executor::V0ToV1Adapter::frameworkMessage ( ExecutorDriver driver,
const std::string &  data 
)
overridevirtual

Implements mesos::Executor.

void mesos::v1::executor::V0ToV1Adapter::killTask ( ExecutorDriver driver,
const mesos::TaskID &  taskId 
)
override
void mesos::v1::executor::V0ToV1Adapter::launchTask ( ExecutorDriver driver,
const mesos::TaskInfo &  task 
)
override
void mesos::v1::executor::V0ToV1Adapter::registered ( ExecutorDriver driver,
const mesos::ExecutorInfo &  executorInfo,
const mesos::FrameworkInfo &  frameworkInfo,
const mesos::SlaveInfo &  slaveInfo 
)
override
void mesos::v1::executor::V0ToV1Adapter::reregistered ( ExecutorDriver driver,
const mesos::SlaveInfo &  slaveInfo 
)
override
void mesos::v1::executor::V0ToV1Adapter::send ( const Call &  call)
overridevirtual
void mesos::v1::executor::V0ToV1Adapter::shutdown ( ExecutorDriver driver)
overridevirtual

Implements mesos::Executor.


The documentation for this class was generated from the following file: