vermont/vermontmain_configuration.h
sommer 5b9dcaf4fa Added some stopSystem() calls that will terminate all threads nicely. Observer still blocks in pcap_next though.
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@864 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2007-05-03 22:28:11 +00:00

37 lines
668 B
C++

/*
released under GPL v2
(C) by Lothar Braun <mail@lobraun.de>
*/
#ifndef _VERMONTMAIN_CONFIGURATION_H_
#define _VERMONTMAIN_CONFIGURATION_H_
#include "ipfix_configuration.h"
#include <string>
class VermontMainConfiguration : public Configuration {
public:
VermontMainConfiguration(xmlDocPtr document, xmlNodePtr startPoint);
~VermontMainConfiguration();
virtual void configure();
virtual void startSystem();
virtual void stopSystem();
virtual void connect(Configuration*);
unsigned getPollInterval() { return poll_interval; }
protected:
virtual void setUp() {}
unsigned poll_interval;
std::string logfile;
unsigned log_interval;
};
#endif