base/frameworks/cluster/pubsub.zeek
- Cluster
- Namespace:
Cluster
- Imports:
base/bif/cluster.bif.zeek, base/frameworks/cluster/types.zeek
Summary
Hooks
A hook invoked for every |
|
A hook invoked for every |
Functions
Subscribe to the given topic. |
|
Unsubscribe from the given topic. |
Detailed Interface
Hooks
- Cluster::on_subscribe
-
A hook invoked for every
Cluster::subscribecall.Breaking from this hook has no effect.
- Parameters:
topic – The topic string as given to
Cluster::subscribe.
- Cluster::on_unsubscribe
-
A hook invoked for every
Cluster::subscribecall.Breaking from this hook has no effect.
- Parameters:
topic – The topic string as given to
Cluster::subscribe.
Functions
- Cluster::subscribe
-
Subscribe to the given topic.
- Parameters:
topic – The topic to subscribe to.
- Returns:
T on success, else F.
- Cluster::unsubscribe
-
Unsubscribe from the given topic.
- Parameters:
topic – The topic to unsubscribe from.
- Returns:
T on success, else F.