class

RNS::Management::Manager

Inherits Reference < Object

Constants

APP_NAME = "reticule"
ASPECTS = ["node", "mgmt"]
DEFAULT_HEARTBEAT_INTERVAL = 10.0
DEFAULT_REPORT_INTERVAL = 30.0
RECONNECT_INITIAL = 5.0
RECONNECT_MAX = 300.0

Constructors

new(*, identity : Identity, reticulum_instance : ReticulumInstance, config_path : String | Nil, reticule_dest_hash : Bytes | Nil = nil, node_id : Bytes | Nil = nil, report_interval : Float64 = DEFAULT_REPORT_INTERVAL, heartbeat_interval : Float64 = DEFAULT_HEARTBEAT_INTERVAL, bootstrap_interface_name : String | Nil = nil)
Source

Instance methods

bootstrap_interface_name

Set before connecting to protect the bootstrap interface from config pushes.

Source
bootstrap_interface_name=(bootstrap_interface_name : String | Nil)

Set before connecting to protect the bootstrap interface from config pushes.

Source
connect(reticule_dest_hash : Bytes | Nil = nil)

Attempt to establish a Link to Reticule's management destination. Called after interfaces are up. Non-blocking -- spawns fibers.

Source
destination
Source
handle_config_push(push : ConfigPush) : ConfigAck

Handle an incoming ConfigPush message. Returns ConfigAck.

Source
pending_join_token

Set before connecting to have the manager automatically send a JoinRequest once the management link is established.

Source
pending_join_token=(pending_join_token : ProvisioningToken | Nil)

Set before connecting to have the manager automatically send a JoinRequest once the management link is established.

Source
send_join_request(token : ProvisioningToken) : Nil

Build and send a JoinRequest over the management link.

Source
send_state_report

Send a state report immediately (for event-driven reports).

Source
shutdown
Source
start_periodic_tasks

Start periodic reporting and heartbeat fibers.

Source
state_collector
Source

Nested types