source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/src/Dispatcher/Dispatcher.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: 565 bytes
Line 
1#ifndef DISPATCHER_H
2#define DISPATCHER_H
3
4#include <map>
5#include <list>
6#include <string>
7
8#include "Dissector.h"
9#include "DispatchInfo.h"
10#include "Filter.h"
11
12class Dispatcher {
13
14 public:
15  Dispatcher(std::string sName="");
16  virtual ~Dispatcher();
17  virtual bool Dispatch(DispatchInfo & info, ComponentFilter & filter);
18  virtual void AddExplicitUpperLayer(EProtocolType sUpperLayer);
19
20 protected:
21  virtual const std::string& GetName() const;
22  std::string m_sName;
23  std::list<Dissector *> m_fragments;
24  std::list<Dispatcher *> m_upperLayers;
25 
26};
27
28#endif
Note: See TracBrowser for help on using the repository browser.