Broker manager changes to match the new IOSource API and loop architecture

This commit is contained in:
Tim Wojtulewicz 2019-11-26 12:59:28 -07:00
parent c4d9566294
commit c5462eaa80
2 changed files with 16 additions and 56 deletions

View file

@ -346,15 +346,9 @@ private:
__attribute__((format (printf, 2, 3)));
// IOSource interface overrides:
void GetFds(iosource::FD_Set* read, iosource::FD_Set* write,
iosource::FD_Set* except) override;
double NextTimestamp(double* local_network_time) override;
void Process() override;
const char* Tag() override
{ return "Broker::Manager"; }
const char* Tag() override { return "Broker::Manager"; }
double GetNextTimeout() override { return -1; }
struct LogBuffer {
// Indexed by topic string.
@ -392,7 +386,6 @@ private:
bool reading_pcaps;
bool after_zeek_init;
int peer_count;
int times_processed_without_idle;
size_t log_batch_size;
double log_batch_interval;