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

#include <encoder.hpp>

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

Public Member Functions

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

Static Public Member Functions

static std::string encode (const Message &message)

Additional Inherited Members

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

Constructor & Destructor Documentation

process::MessageEncoder::MessageEncoder ( const Message message)

Member Function Documentation

static std::string process::MessageEncoder::encode ( const Message message)

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