Newer
Older
/*!
* \file BTPLayer.hh
* \brief Header file for ITS BTP protocol layer.
* \author ETSI STF525
* \copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
* \version 0.1
*/
#pragma once
#include "BTPCodec.hh"
class BTPLayer : public TLayer<LibItsBtp__TestSystem::BtpPort> {
BTPLayer() : TLayer<LibItsBtp__TestSystem::BtpPort>(), _params(), _codec() {};
BTPLayer(const std::string& p_type, const std::string& param);
void sendMsg(const LibItsBtp__TestSystem::BtpReq&, Params& param);
virtual void sendData(OCTETSTRING& data, Params& params);
virtual void receiveData(OCTETSTRING& data, Params& info);