mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
cluster/Backend: Rename HandleRemoteEvent() to ProcessEvent()
...also add Backend::ProcessEvent() for backends to trigger event processing without needing to use ProcessEventMessage().
This commit is contained in:
parent
390a4fc1bb
commit
f8ef5addaa
3 changed files with 26 additions and 8 deletions
|
@ -53,7 +53,7 @@ private:
|
|||
* will need some abstractions if client's can opt to use different encodings
|
||||
* of events in the future.
|
||||
*/
|
||||
bool DoHandleRemoteEvent(std::string_view topic, zeek::cluster::detail::Event e) override {
|
||||
bool DoProcessEvent(std::string_view topic, zeek::cluster::detail::Event e) override {
|
||||
// If the client has left, no point in sending it any pending event.
|
||||
if ( wsc->IsTerminated() )
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue