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

#include <master.hpp>

Public Member Functions

 HttpConnection (const process::http::Pipe::Writer &_writer, ContentType _contentType, id::UUID _streamId)
 
template<typename Message , typename Event = v1::scheduler::Event>
bool send (const Message &message)
 
bool close ()
 
process::Future< Nothingclosed () const
 

Public Attributes

process::http::Pipe::Writer writer
 
ContentType contentType
 
id::UUID streamId
 

Constructor & Destructor Documentation

mesos::internal::master::HttpConnection::HttpConnection ( const process::http::Pipe::Writer _writer,
ContentType  _contentType,
id::UUID  _streamId 
)
inline

Member Function Documentation

bool mesos::internal::master::HttpConnection::close ( )
inline
process::Future<Nothing> mesos::internal::master::HttpConnection::closed ( ) const
inline
template<typename Message , typename Event = v1::scheduler::Event>
bool mesos::internal::master::HttpConnection::send ( const Message &  message)
inline

Member Data Documentation

ContentType mesos::internal::master::HttpConnection::contentType
id::UUID mesos::internal::master::HttpConnection::streamId
process::http::Pipe::Writer mesos::internal::master::HttpConnection::writer

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