base/bif/comm.bif.bro

Broker
GLOBAL

Functions and events regarding Bro’s broker communication mechanisms.

Namespaces:Broker, GLOBAL
Source File:/scripts/base/bif/comm.bif.bro

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.

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

Copyright 2016, The Bro Project. Last updated on December 19, 2018. Created using Sphinx 1.8.2.