RNS::Management::Manager
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)
SourceInstance methods
bootstrap_interface_name
Set before connecting to protect the bootstrap interface from config pushes.
Set before connecting to protect the bootstrap interface from config pushes.
Attempt to establish a Link to Reticule's management destination. Called after interfaces are up. Non-blocking -- spawns fibers.
destination
Sourcehandle_config_push(push : ConfigPush) : ConfigAck
Handle an incoming ConfigPush message. Returns ConfigAck.
link_status
Sourcelink_status_since
Sourcepending_join_token
Set before connecting to have the manager automatically send a JoinRequest once the management link is established.
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.
send_join_request(token : ProvisioningToken) : Nil
Build and send a JoinRequest over the management link.
shutdown
Sourcestate_collector
Source