mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Update Supervisor code for the new IOSource API
This commit is contained in:
parent
6ddcc87c48
commit
0cfb115c1b
3 changed files with 20 additions and 12 deletions
|
@ -285,6 +285,12 @@ public:
|
|||
*/
|
||||
~Supervisor();
|
||||
|
||||
/**
|
||||
* Perform some initialization that needs to happen after scripts are loaded
|
||||
* and the IOSource manager is created.
|
||||
*/
|
||||
void InitPostScript();
|
||||
|
||||
/**
|
||||
* @return the process ID of the Stem.
|
||||
*/
|
||||
|
@ -347,11 +353,7 @@ public:
|
|||
private:
|
||||
|
||||
// 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;
|
||||
|
||||
double GetNextTimeout() override;
|
||||
void Process() override;
|
||||
|
||||
size_t ProcessMessages();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue