Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::StreamingHttpConnection< Event > Struct Template Reference

#include <http.hpp>

Public Member Functions

 StreamingHttpConnection (const process::http::Pipe::Writer &_writer, ContentType _contentType, id::UUID _streamId=id::UUID::random())
 
template<typename Message >
bool send (const Message &message)
 
bool send (const std::string &event)
 
bool close ()
 
process::Future< Nothingclosed () const
 

Public Attributes

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

Constructor & Destructor Documentation

template<typename Event>
mesos::internal::StreamingHttpConnection< Event >::StreamingHttpConnection ( const process::http::Pipe::Writer _writer,
ContentType  _contentType,
id::UUID  _streamId = id::UUID::random() 
)
inline

Member Function Documentation

template<typename Event>
bool mesos::internal::StreamingHttpConnection< Event >::close ( )
inline
template<typename Event>
process::Future<Nothing> mesos::internal::StreamingHttpConnection< Event >::closed ( ) const
inline
template<typename Event>
template<typename Message >
bool mesos::internal::StreamingHttpConnection< Event >::send ( const Message &  message)
inline
template<typename Event>
bool mesos::internal::StreamingHttpConnection< Event >::send ( const std::string &  event)
inline

Member Data Documentation

template<typename Event>
ContentType mesos::internal::StreamingHttpConnection< Event >::contentType
template<typename Event>
id::UUID mesos::internal::StreamingHttpConnection< Event >::streamId
template<typename Event>
process::http::Pipe::Writer mesos::internal::StreamingHttpConnection< Event >::writer

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