GeoNetworkingLayer.hh 740 Bytes
Newer Older
garciay's avatar
garciay committed
#ifndef GEONETWORKING_LAYER_H
#define GEONETWORKING_LAYER_H
#include "Layer.hh"
#include "GeoNetworkingCodec.hh"

namespace LibItsGeoNetworking__TestSystem {
	class GeoNetworkingPort;
	class GeoNetworkingReq;
}

class GeoNetworkingLayer : public TLayer<LibItsGeoNetworking__TestSystem::GeoNetworkingPort> {
garciay's avatar
garciay committed
    GeoNetworkingCodec _codec;
    Params _params;
garciay's avatar
garciay committed
  public:
garciay's avatar
garciay committed
  GeoNetworkingLayer(const std::string & p_type, const std::string & param);
  virtual ~GeoNetworkingLayer() {};
garciay's avatar
garciay committed

    void sendMsg(const LibItsGeoNetworking__TestSystem::GeoNetworkingReq&, const Params& param);

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

#endif