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

#include <slave.hpp>

Public Member Functions

 HttpConnection (const process::http::Pipe::Writer &_writer, ContentType _contentType)
 
template<typename Message >
bool send (const Message &message)
 
bool close ()
 
process::Future< Nothingclosed () const
 

Public Attributes

process::http::Pipe::Writer writer
 
ContentType contentType
 
::recordio::Encoder
< v1::executor::Event > 
encoder
 

Constructor & Destructor Documentation

mesos::internal::slave::HttpConnection::HttpConnection ( const process::http::Pipe::Writer _writer,
ContentType  _contentType 
)
inline

Member Function Documentation

bool mesos::internal::slave::HttpConnection::close ( )
inline
process::Future<Nothing> mesos::internal::slave::HttpConnection::closed ( ) const
inline
template<typename Message >
bool mesos::internal::slave::HttpConnection::send ( const Message &  message)
inline

Member Data Documentation

ContentType mesos::internal::slave::HttpConnection::contentType
::recordio::Encoder<v1::executor::Event> mesos::internal::slave::HttpConnection::encoder
process::http::Pipe::Writer mesos::internal::slave::HttpConnection::writer

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