mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Preventing writers/readers from receiving further messages after a
failure. Once a writer/reader Do* method has returned false, no further ones will be executed anymore. This is primarily a safety mechanism to make it easier for writer/reader authors as otherwise they would often need to track the failure state themselves (because with the now delayed termination from the earlier commit, furhter messages can now still arrive for a little bit).
This commit is contained in:
parent
86ae7d8b7c
commit
f5862fb014
8 changed files with 63 additions and 7 deletions
|
@ -182,6 +182,8 @@ public:
|
|||
/**
|
||||
* Disables the frontend that has instantiated this backend. Once
|
||||
* disabled,the frontend will not send any further message over.
|
||||
*
|
||||
* TODO: Do we still need this method (and the corresponding message)?
|
||||
*/
|
||||
void DisableFrontend();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue