source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/src/Dispatcher/DispatchInfo.h @ 53

Last change on this file since 53 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 612 bytes
Line 
1#ifndef DISPATCH_INFO_H
2#define DISPATCH_INFO_H
3
4#include "ProtocolInfo.h"
5#include <list>
6#include <vector>
7
8#ifdef _MSC_VER
9typedef int ssize_t;
10#endif
11
12class DispatchInfo {
13 
14 public:
15  DispatchInfo();
16  ~DispatchInfo();
17  const unsigned char * GetData() const;
18  const ssize_t GetDataSize() const;
19  void SetData(const unsigned char * pData, const ssize_t nDataSize);
20  void AddProtocolInfo(ProtocolInfoElement * info);
21  ProtocolInfo * DetachProtocolInfo();
22  ProtocolInfo * GetProtocolInfo() const;
23
24private:
25  unsigned char * m_pData;
26  ssize_t m_nDataSize;
27  ProtocolInfo * m_pProtocolInfo;
28};
29
30#endif
Note: See TracBrowser for help on using the repository browser.