Fixed DTSC analyser
This commit is contained in:
parent
6419da5eba
commit
98054f268f
2 changed files with 7 additions and 1 deletions
|
@ -12,9 +12,14 @@ void AnalyserDTSC::init(Util::Config &conf){
|
|||
opt.null();
|
||||
}
|
||||
|
||||
AnalyserDTSC::AnalyserDTSC(Util::Config &conf) : Analyser(conf){
|
||||
bool AnalyserDTSC::open(const std::string &filename){
|
||||
if (!Analyser::open(filename)){return false;}
|
||||
conn = Socket::Connection(1, 0);
|
||||
totalBytes = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
AnalyserDTSC::AnalyserDTSC(Util::Config &conf) : Analyser(conf){
|
||||
headLess = conf.getBool("headless");
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ public:
|
|||
AnalyserDTSC(Util::Config &conf);
|
||||
bool parsePacket();
|
||||
static void init(Util::Config &conf);
|
||||
virtual bool open(const std::string &filename);
|
||||
|
||||
private:
|
||||
bool headLess;
|
||||
|
|
Loading…
Add table
Reference in a new issue