Hi all. I am using Flow Fetcher component with my component. The flow_stats_in_event handler is called, but the fsie.flows size is zero. Should not this have a non-zero value?
The code of this function is following: Disposition Flow_fetcher::handle_flow_stats_in(const Event& e) { const Flow_stats_in_event& fsie = assert_cast<const Flow_stats_in_event&>(e); Fetcher_map::iterator i(lookup_xid(fsie.xid())); if (i == active_fetchers.end()) { lg.dbg("ignoring Flow_stats_in_event with unknown xid %"PRIu32, fsie.xid()); return CONTINUE; } /* Append the new flows. Unless there are more flows to come, declare * it a success. */ ff->flows.insert(ff->flows.end(), fsie.flows.begin(), fsie.flows.end()); *lg.dbg("Flows size: %d",fsie.flows.size());* if (fsie.more) { ff->touch(); } else { ff->complete(0); ff->status = -1; active_fetchers.erase(i); } return STOP; } If you need some deeper detail please let me know it. Best Regards. -- Ricardo Bennesby da Silva Ciência da Computação - UFAM LabCIA - Laboratório de Computação Inteligente e Autonômica
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org