base/bif/messaging.bif.zeek
- Broker
- GLOBAL
Functions for peering and various messaging patterns.
- Namespaces:
Broker, GLOBAL
Summary
Functions
Create a data structure that may be used to send a remote event via
|
|
Publishes an event at a given topic. |
Detailed Interface
Functions
- Broker::make_event
- Type:
function
(…) :Broker::Event
Create a data structure that may be used to send a remote event via
Broker::publish
.- Parameters:
args – an event, followed by a list of argument values that may be used to call it.
- Returns:
opaque communication data that may be used to send a remote event.
- Broker::publish
-
Publishes an event at a given topic.
- Parameters:
topic – a topic associated with the event message.
args – Either the event arguments as already made by
Broker::make_event
or the argument list to pass along to it.
- Returns:
true if the message is sent.