struct

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)
Source

Instance methods

agent_id
Source
agent_id=(agent_id : String)
Source
capabilities
Source
capabilities=(capabilities : Array(String))
Source
host
Source
host=(host : String)
Source
is_alive?(timeout_minutes : Int32 = 2) : Bool
Source
last_heartbeat
Source
last_heartbeat=(last_heartbeat : Time)
Source
name
Source
name=(name : String)
Source
port
Source
port=(port : Int32)
Source
registered_at
Source
registered_at=(registered_at : Time)
Source
trust_level
Source
trust_level=(trust_level : Float64)
Source
update_heartbeat
Source