base/bif/cluster.bif.zeek
- Cluster
- GLOBAL
- Namespaces
Cluster, GLOBAL
Summary
Functions
Initialize the global cluster backend. |
|
Create a data structure that may be used to send a remote event via
|
|
Publishes an event to a given topic. |
Detailed Interface
Functions
- Cluster::Backend::__init
-
Initialize the global cluster backend.
- Returns
true on success.
- Cluster::make_event
- Type
function
(…) :Cluster::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
A
Cluster::Event
instance that can be published viaCluster::publish
,Cluster::publish_rr
orCluster::publish_hrw
.
- Cluster::publish
-
Publishes an event to a given topic.
- Parameters
topic – a topic associated with the event message.
args – Either the event arguments as already made by
Cluster::make_event
or the argument list to pass along to it.
- Returns
true if the message is sent.