mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster/zeromq: Adapt for OnLoopProcess changes
This commit is contained in:
parent
23405194a0
commit
827eccb732
2 changed files with 1 additions and 5 deletions
|
@ -77,8 +77,6 @@ ZeroMQBackend::~ZeroMQBackend() {
|
|||
}
|
||||
|
||||
void ZeroMQBackend::DoInitPostScript() {
|
||||
ThreadedBackend::DoInitPostScript();
|
||||
|
||||
listen_xpub_endpoint =
|
||||
zeek::id::find_val<zeek::StringVal>("Cluster::Backend::ZeroMQ::listen_xpub_endpoint")->ToStdString();
|
||||
listen_xsub_endpoint =
|
||||
|
@ -98,8 +96,8 @@ void ZeroMQBackend::DoInitPostScript() {
|
|||
event_subscription = zeek::event_registry->Register("Cluster::Backend::ZeroMQ::subscription");
|
||||
}
|
||||
|
||||
|
||||
void ZeroMQBackend::DoTerminate() {
|
||||
ThreadedBackend::DoTerminate();
|
||||
ZEROMQ_DEBUG("Shutting down ctx");
|
||||
ctx.shutdown();
|
||||
ZEROMQ_DEBUG("Joining self_thread");
|
||||
|
|
|
@ -62,8 +62,6 @@ private:
|
|||
bool DoPublishLogWrites(const logging::detail::LogWriteHeader& header, const std::string& format,
|
||||
cluster::detail::byte_buffer& buf) override;
|
||||
|
||||
const char* Tag() override { return "ZeroMQ"; }
|
||||
|
||||
bool DoProcessBackendMessage(int tag, detail::byte_buffer_span payload) override;
|
||||
|
||||
// Script level variables.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue