mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster/Backend: Add name and lookup component tag
This adds two new accessors on Backend, Name() and Tag() that can be used for introspection of a Backend instance.
This commit is contained in:
parent
214629e054
commit
3946856f06
5 changed files with 37 additions and 12 deletions
|
@ -277,7 +277,7 @@ std::string RenderEvent(const std::string& topic, const std::string& name, const
|
|||
} // namespace
|
||||
#endif
|
||||
|
||||
Manager::Manager(bool arg_use_real_time) : Backend(nullptr, nullptr, nullptr), iosource::IOSource(true) {
|
||||
Manager::Manager(bool arg_use_real_time) : Backend("Broker", nullptr, nullptr, nullptr), iosource::IOSource(true) {
|
||||
bound_port = 0;
|
||||
use_real_time = arg_use_real_time;
|
||||
peer_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue