Apache Mesos
Public Types | Public Member Functions | List of all members
process::Encoder Class Referenceabstract

#include <encoder.hpp>

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

Public Types

enum  Kind { DATA, FILE }
 

Public Member Functions

 Encoder ()=default
 
virtual ~Encoder ()
 
virtual Kind kind () const =0
 
virtual void backup (size_t length)=0
 
virtual size_t remaining () const =0
 

Member Enumeration Documentation

Enumerator
DATA 
FILE 

Constructor & Destructor Documentation

process::Encoder::Encoder ( )
default
virtual process::Encoder::~Encoder ( )
inlinevirtual

Member Function Documentation

virtual void process::Encoder::backup ( size_t  length)
pure virtual
virtual Kind process::Encoder::kind ( ) const
pure virtual
virtual size_t process::Encoder::remaining ( ) const
pure virtual

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