UpperTesterLayer.hh 857 Bytes
Newer Older
garciay's avatar
garciay committed
#ifndef UpperTester_LAYER_H
#define UpperTester_LAYER_H

#include "Layer.hh"
#include "UpperTesterCodec.hh"

namespace LibItsGeoNetworking__TestSystem {
  class UpperTesterPort;
garciay's avatar
garciay committed
}

namespace LibItsCommon__TypesAndValues {
garciay's avatar
garciay committed
  class UtInitialize;
}

class UpperTesterLayer : public TLayer<LibItsGeoNetworking__TestSystem::UpperTesterPort> {
  Params _params;
  UpperTesterCodec _codec;
public:
  UpperTesterLayer() : TLayer<LibItsGeoNetworking__TestSystem::UpperTesterPort>(), _params(), _codec() {};
  UpperTesterLayer(const std::string & p_type, const std::string & param);
  virtual ~UpperTesterLayer() {};

garciay's avatar
garciay committed
  void sendMsg(const LibItsCommon__TypesAndValues::UtInitialize&, Params& params);
garciay's avatar
garciay committed
    
  virtual void sendData(OCTETSTRING& data, Params& params);
  virtual void receiveData(OCTETSTRING& data, Params& info);
};

#endif