mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Merge remote-tracking branch 'origin/topic/bernhard/input-threads-merge'
* origin/topic/bernhard/input-threads-merge: disable streaming reads from executed commands. automatically delete disabled input streams small documentation fixes Documentation
This commit is contained in:
commit
464732bfce
11 changed files with 406 additions and 352 deletions
|
@ -11,21 +11,28 @@
|
|||
namespace input {
|
||||
|
||||
/**
|
||||
* The modes a reader can be in.
|
||||
* The modes a reader can be in.
|
||||
*/
|
||||
enum ReaderMode {
|
||||
/**
|
||||
* TODO Bernhard.
|
||||
* Manual refresh reader mode. The reader will read the file once,
|
||||
* and send all read data back to the manager. After that, no automatic
|
||||
* refresh should happen. Manual refreshes can be triggered from the
|
||||
* scripting layer using force_update.
|
||||
*/
|
||||
MODE_MANUAL,
|
||||
|
||||
/**
|
||||
* TODO Bernhard.
|
||||
* Automatic rereading mode. The reader should monitor the
|
||||
* data source for changes continually. When the data source changes,
|
||||
* either the whole file has to be resent using the SendEntry/EndCurrentSend functions.
|
||||
*/
|
||||
MODE_REREAD,
|
||||
|
||||
/**
|
||||
* TODO Bernhard.
|
||||
* Streaming reading mode. The reader should monitor the data source
|
||||
* for new appended data. When new data is appended is has to be sent
|
||||
* using the Put api functions.
|
||||
*/
|
||||
MODE_STREAM
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue