base/bif/comm.bif.zeek

Broker
GLOBAL

Functions and events regarding broker communication mechanisms.

Namespaces

Broker, GLOBAL

Summary

Events

Broker::error: event

Generated when an error occurs in the Broker sub-system.

Broker::peer_added: event

Generated when a new peering has been established.

Broker::peer_lost: event

Generated when an existing peering has been lost.

Broker::peer_removed: event

Generated when an existing peer has been removed.

Broker::status: event

Generated when something changes in the Broker sub-system.

Functions

Broker::__listen: function

Broker::__node_id: function

Broker::__peer: function

Broker::__peers: function

Broker::__unpeer: function

Detailed Interface

Events

Broker::error
Type

event (code: Broker::ErrorCode, msg: string)

Generated when an error occurs in the Broker sub-system.

Broker::peer_added
Type

event (endpoint: Broker::EndpointInfo, msg: string)

Generated when a new peering has been established.

Broker::peer_lost
Type

event (endpoint: Broker::EndpointInfo, msg: string)

Generated when an existing peering has been lost.

Broker::peer_removed
Type

event (endpoint: Broker::EndpointInfo, msg: string)

Generated when an existing peer has been removed.

Broker::status
Type

event (endpoint: Broker::EndpointInfo, msg: string)

Generated when something changes in the Broker sub-system.

Functions

Broker::__listen
Type

function (a: string, p: port) : port

Broker::__node_id
Type

function () : string

Broker::__peer
Type

function (a: string, p: port, retry: interval) : bool

Broker::__peers
Type

function () : Broker::PeerInfos

Broker::__unpeer
Type

function (a: string, p: port) : bool