class

AgentZero::DiscoveryServer

Inherits Reference < Object

Service for agent discovery and registration

Constructors

new(host : String, port : Int32)
Source

Instance methods

discover_agents(timeout_seconds : Int32 = 10) : Array(AgentNode)
Source
get_agent_info(agent_id : String) : AgentRegistration | Nil
Source
host
Source
host=(host : String)
Source
list_agents
Source
port
Source
port=(port : Int32)
Source
register_agent(agent : AgentNode) : Bool
Source
start
Source
started_at
Source
stats
Source
stop
Source
unregister_agent(agent_id : String) : Bool
Source

Nested types