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

#include <Message.h>

Inheritance diagram for SERDataSource:
Inheritance graph
Collaboration diagram for SERDataSource:
Collaboration graph

Public Member Functions

 SERDataSource (ServiceException *sex)
 SERDataSource (std::vector< ServiceException * > *sexcp)
std::string getMessage ()
int getHttpStatus ()
- Public Member Functions inherited from MessageDataSource
 MessageDataSource (std::string message, std::string type)
const uint8_t * getData (size_t &size)
std::string getType ()
 Return the message's MIME type.
std::string getEncoding ()
 Return the message's encoding.
bool releaseData ()
 Free the allocated memories.

Private Attributes

int httpStatus

Additional Inherited Members

- Protected Attributes inherited from MessageDataSource
std::string message

Detailed Description

genere un MessageDataSource a partir de ServiceExceptions

Constructor & Destructor Documentation

SERDataSource::SERDataSource ( ServiceException sex)

Constructeur à partir d'un ServiceException

sexle ServiceException

Here is the call graph for this function:

SERDataSource::SERDataSource ( std::vector< ServiceException * > *  sexcp)

Constructeur à partir d'un tableau de ServiceException

sexcple tableau des ServiceExceptions

Here is the call graph for this function:

Member Function Documentation

int SERDataSource::getHttpStatus ( )

getter pour la propriete httpStatus

Reimplemented from MessageDataSource.

std::string SERDataSource::getMessage ( )

getter pour la propriete Message

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