mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
cluster/Backend: Rename EnqueueLocalEvent() to ProcessLocalEvent()
This commit is contained in:
parent
f8ef5addaa
commit
fcc0f45c57
3 changed files with 7 additions and 7 deletions
|
@ -116,7 +116,7 @@ public:
|
|||
* @param h The event handler to use.
|
||||
* @param args The event arguments.
|
||||
*/
|
||||
void EnqueueLocalEvent(EventHandlerPtr h, zeek::Args args) { DoEnqueueLocalEvent(h, std::move(args)); }
|
||||
void ProcessLocalEvent(EventHandlerPtr h, zeek::Args args) { DoProcessLocalEvent(h, std::move(args)); }
|
||||
|
||||
private:
|
||||
/**
|
||||
|
@ -130,12 +130,12 @@ private:
|
|||
virtual bool DoProcessEvent(std::string_view topic, Event e) = 0;
|
||||
|
||||
/**
|
||||
* Hook method for implementing EnqueueLocalEvent().
|
||||
* Hook method for implementing ProcessLocalEvent().
|
||||
*
|
||||
* @param h The event handler to use.
|
||||
* @param args The event arguments.
|
||||
*/
|
||||
virtual void DoEnqueueLocalEvent(EventHandlerPtr h, zeek::Args args) = 0;
|
||||
virtual void DoProcessLocalEvent(EventHandlerPtr h, zeek::Args args) = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -144,7 +144,7 @@ private:
|
|||
class LocalEventHandlingStrategy : public EventHandlingStrategy {
|
||||
private:
|
||||
bool DoProcessEvent(std::string_view topic, Event e) override;
|
||||
void DoEnqueueLocalEvent(EventHandlerPtr h, zeek::Args args) override;
|
||||
void DoProcessLocalEvent(EventHandlerPtr h, zeek::Args args) override;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue