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:
Arne Welzel 2025-02-06 16:33:19 +01:00
parent 390a4fc1bb
commit f8ef5addaa
3 changed files with 26 additions and 8 deletions

View file

@ -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;