struct

AgentZero::AgentNode::PeerInfo

Inherits Struct < Value < Object

Constructors

new(id : String, host : String, port : Int32, name : String = "Unknown")
Source

Instance methods

capabilities
Source
capabilities=(capabilities : Array(String))
Source
host
Source
host=(host : String)
Source
id=(id : String)
Source
is_stale?(threshold_minutes : Int32 = 5) : Bool
Source
last_seen
Source
last_seen=(last_seen : Time)
Source
name
Source
name=(name : String)
Source
port
Source
port=(port : Int32)
Source
status
Source
status=(status : AgentStatus)
Source
trust_level
Source
trust_level=(trust_level : Float64)
Source
update_last_seen
Source