mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
cluster/Backend: Interface for cluster backends
This commit is contained in:
parent
e94e30616d
commit
fb23a06f6f
3 changed files with 621 additions and 0 deletions
|
@ -280,6 +280,14 @@ export {
|
|||
## Returns: a topic string that may used to send a message exclusively to
|
||||
## a given cluster node.
|
||||
global nodeid_topic: function(id: string): string;
|
||||
|
||||
## An event instance for cluster pub/sub.
|
||||
type Event: record {
|
||||
## The event handler to be invoked on the remote node.
|
||||
ev: any;
|
||||
## The arguments for the event.
|
||||
args: vector of any;
|
||||
};
|
||||
}
|
||||
|
||||
# Track active nodes per type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue