AgentZero::DiscoveryServer::AgentRegistration
Inherits Struct < Value < Object
Constructors
new(agent_id : String, name : String, host : String, port : Int32, capabilities : Array(String) = [] of String, trust_level : Float64 = 0.5)
SourceInstance methods
agent_id
Sourceagent_id=(agent_id : String)
Sourcecapabilities
Sourcecapabilities=(capabilities : Array(String))
Sourcehost
Sourcehost=(host : String)
Sourceis_alive?(timeout_minutes : Int32 = 2) : Bool
Sourcelast_heartbeat
Sourcelast_heartbeat=(last_heartbeat : Time)
Sourcename
Sourcename=(name : String)
Sourceport
Sourceport=(port : Int32)
Sourceregistered_at
Sourceregistered_at=(registered_at : Time)
Sourcetrust_level
Sourcetrust_level=(trust_level : Float64)
Sourceupdate_heartbeat
Source