Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 3214 → Rev 3215

/branches/STF525/ccsrc/Protocols/Http/http_layer.hh
21,7 → 21,7
}
 
namespace LibItsHttp__TypesAndValues {
class HeaderLines; //! Forward declaration of TITAN class
class HttpMessage; //! Forward declaration of TITAN class
}
 
class OCTETSTRING; //! Forward declaration of TITAN class
33,7 → 33,6
class http_layer : public t_layer<LibItsHttp__TestSystem::HttpPort> {
params _params;
http_codec _codec;
std::unique_ptr<LibItsHttp__TypesAndValues::HeaderLines> _headers;
 
public: //! \publicsection
/*!
42,7 → 41,7
* \param[in] p_type \todo
* \param[in] p_param \todo
*/
http_layer() : t_layer(), _params(), _headers(nullptr) {};
http_layer() : t_layer(), _params() { };
/*!
* \brief Specialised constructor
* Create a new instance of the http_layer class
53,9 → 52,17
/*!
* \brief Default destructor
*/
virtual ~http_layer() { _headers.reset(nullptr); };
virtual ~http_layer() { };
 
/*!
* \fn void sendMsg(const LibItsHttp__TypesAndValues::HttpMessage& p_http_message, params& p_param);
* \brief Send HTTP message to the lower layers
* \param[in] p_http_message The GeoNetworking message to be sent
* \param[in] p_params Some parameters to overwrite default value of the lower layers parameters
*/
void sendMsg(const LibItsHttp__TypesAndValues::HttpMessage& p_http_message, params& p_param);
/*!
* \virtual
* \fn void send_data(OCTETSTRING& data, params& params);
* \brief Send bytes formated data to the lower layers