class

RNS::Discovery::InterfaceAnnouncer

Inherits Reference < Object

═══════════════════════════════════════════════════════════════════ InterfaceAnnouncer — periodically announces local interfaces ═══════════════════════════════════════════════════════════════════

Constants

DEFAULT_STAMP_VALUE = 14
DISCOVERABLE_INTERFACE_TYPES = ["BackboneInterface", "TCPServerInterface", "TCPClientInterface", "RNodeInterface", "WeaveInterface", "I2PInterface", "KISSInterface"]
JOB_INTERVAL = 60
STAMP_SIZE = 32

Stamp size in bytes — matches LXStamper.STAMP_SIZE from the Python LXMF module

WORKBLOCK_EXPAND_ROUNDS = 20

Constructors

new(owner : Transport.class)
Source

Instance methods

get_interface_announce_data(interface : Interface) : Bytes | Nil
Source
sanitize(in_str : String | Nil) : String
Source
should_run
Source
start
Source
stop
Source