Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::master::Master::Subscribers::Subscriber Struct Reference

#include <master.hpp>

Public Member Functions

 Subscriber (const StreamingHttpConnection< v1::master::Event > &_http, const Option< process::http::authentication::Principal > _principal)
 
 Subscriber (const Subscriber &)=delete
 
Subscriberoperator= (const Subscriber &)=delete
 
process::Future< process::Owned< ObjectApprovers > > getApprovers (const Option< Authorizer * > &authorizer, std::initializer_list< authorization::Action > actions)
 
void send (const process::Shared< mesos::master::Event > &event, const process::Owned< ObjectApprovers > &approvers, const process::Shared< FrameworkInfo > &frameworkInfo, const process::Shared< Task > &task)
 
 ~Subscriber ()
 

Public Attributes

StreamingHttpConnection< v1::master::Event > http
 
ResponseHeartbeater< mesos::master::Event, v1::master::Event > heartbeater
 
const Option< process::http::authentication::Principalprincipal
 
process::Sequence approversSequence
 

Constructor & Destructor Documentation

mesos::internal::master::Master::Subscribers::Subscriber::Subscriber ( const StreamingHttpConnection< v1::master::Event > &  _http,
const Option< process::http::authentication::Principal _principal 
)
inline
mesos::internal::master::Master::Subscribers::Subscriber::Subscriber ( const Subscriber )
delete
mesos::internal::master::Master::Subscribers::Subscriber::~Subscriber ( )
inline

Member Function Documentation

process::Future<process::Owned<ObjectApprovers> > mesos::internal::master::Master::Subscribers::Subscriber::getApprovers ( const Option< Authorizer * > &  authorizer,
std::initializer_list< authorization::Action >  actions 
)
Subscriber& mesos::internal::master::Master::Subscribers::Subscriber::operator= ( const Subscriber )
delete
void mesos::internal::master::Master::Subscribers::Subscriber::send ( const process::Shared< mesos::master::Event > &  event,
const process::Owned< ObjectApprovers > &  approvers,
const process::Shared< FrameworkInfo > &  frameworkInfo,
const process::Shared< Task > &  task 
)

Member Data Documentation

process::Sequence mesos::internal::master::Master::Subscribers::Subscriber::approversSequence
ResponseHeartbeater<mesos::master::Event, v1::master::Event> mesos::internal::master::Master::Subscribers::Subscriber::heartbeater
StreamingHttpConnection<v1::master::Event> mesos::internal::master::Master::Subscribers::Subscriber::http
const Option<process::http::authentication::Principal> mesos::internal::master::Master::Subscribers::Subscriber::principal

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