Rok4Server  0.25.4
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Protected Attributes | Private Attributes | List of all members
MessageDataStream Class Reference

Streamed messages handler. More...

#include <Message.h>

Inheritance diagram for MessageDataStream:
Inheritance graph
Collaboration diagram for MessageDataStream:
Collaboration graph

Public Member Functions

 MessageDataStream (std::string message, std::string type)
size_t read (uint8_t *buffer, size_t size)
bool eof ()
std::string getType ()
std::string getEncoding ()
int getHttpStatus ()

Protected Attributes

std::string message

Private Attributes

std::string type
uint32_t pos

Detailed Description

Streamed messages handler.

Author
Institut national de l'information géographique et forestière

A MessageDataStream defines a message sent to the user.

See Also
MessageDataSource

Member Data Documentation

std::string MessageDataStream::message
protected

Sended message

uint32_t MessageDataStream::pos
private

Current stream position

std::string MessageDataStream::type
private

MIME type


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