Apache Mesos
Public Member Functions | List of all members
process::DataEncoder Class Reference

#include <encoder.hpp>

Inheritance diagram for process::DataEncoder:
process::Encoder process::HttpResponseEncoder process::MessageEncoder

Public Member Functions

 DataEncoder (const std::string &_data)
 
virtual ~DataEncoder ()
 
virtual Kind kind () const
 
virtual const char * next (size_t *length)
 
virtual void backup (size_t length)
 
virtual size_t remaining () const
 
- Public Member Functions inherited from process::Encoder
 Encoder ()=default
 
virtual ~Encoder ()
 

Additional Inherited Members

- Public Types inherited from process::Encoder
enum  Kind { DATA, FILE }
 

Constructor & Destructor Documentation

process::DataEncoder::DataEncoder ( const std::string &  _data)
inline
virtual process::DataEncoder::~DataEncoder ( )
inlinevirtual

Member Function Documentation

virtual void process::DataEncoder::backup ( size_t  length)
inlinevirtual

Implements process::Encoder.

virtual Kind process::DataEncoder::kind ( ) const
inlinevirtual

Implements process::Encoder.

virtual const char* process::DataEncoder::next ( size_t *  length)
inlinevirtual
virtual size_t process::DataEncoder::remaining ( ) const
inlinevirtual

Implements process::Encoder.


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