Apache Mesos
Public Member Functions | List of all members
mesos::python::ProxyExecutor Class Reference

Proxy Executor implementation that will call into Python. More...

#include <proxy_executor.hpp>

Inheritance diagram for mesos::python::ProxyExecutor:
mesos::Executor

Public Member Functions

 ProxyExecutor (MesosExecutorDriverImpl *_impl)
 
virtual ~ProxyExecutor ()
 
virtual void registered (ExecutorDriver *driver, const ExecutorInfo &executorInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)
 
virtual void reregistered (ExecutorDriver *driver, const SlaveInfo &slaveInfo)
 
virtual void disconnected (ExecutorDriver *driver)
 
virtual void launchTask (ExecutorDriver *driver, const TaskInfo &task)
 
virtual void killTask (ExecutorDriver *driver, const TaskID &taskId)
 
virtual void frameworkMessage (ExecutorDriver *driver, const std::string &data)
 
virtual void shutdown (ExecutorDriver *driver)
 
virtual void error (ExecutorDriver *driver, const std::string &message)
 
- Public Member Functions inherited from mesos::Executor
virtual ~Executor ()
 

Detailed Description

Proxy Executor implementation that will call into Python.

Constructor & Destructor Documentation

mesos::python::ProxyExecutor::ProxyExecutor ( MesosExecutorDriverImpl _impl)
inlineexplicit
virtual mesos::python::ProxyExecutor::~ProxyExecutor ( )
inlinevirtual

Member Function Documentation

virtual void mesos::python::ProxyExecutor::disconnected ( ExecutorDriver driver)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::error ( ExecutorDriver driver,
const std::string &  message 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::frameworkMessage ( ExecutorDriver driver,
const std::string &  data 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::killTask ( ExecutorDriver driver,
const TaskID &  taskId 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::launchTask ( ExecutorDriver driver,
const TaskInfo &  task 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::registered ( ExecutorDriver driver,
const ExecutorInfo &  executorInfo,
const FrameworkInfo &  frameworkInfo,
const SlaveInfo &  slaveInfo 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::reregistered ( ExecutorDriver driver,
const SlaveInfo &  slaveInfo 
)
virtual

Implements mesos::Executor.

virtual void mesos::python::ProxyExecutor::shutdown ( ExecutorDriver driver)
virtual

Implements mesos::Executor.


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