AgentZero::NetworkStatus
Inherits Struct < Value < Object
Network status information
Constructors
new(network_name : String, agent_count : Int32, running : Bool, connectivity : Float64, average_trust : Float64, agents : Hash(String, Hash(String, JSON::Any)), config : AgentNetwork::NetworkConfig)
SourceInstance methods
agent_count
Sourceagent_count=(agent_count : Int32)
Sourceagents
Sourceagents=(agents : Hash(String, Hash(String, JSON::Any)))
Sourceaverage_trust
Sourceaverage_trust=(average_trust : Float64)
Sourceconfig
Sourceconfig=(config : AgentNetwork::NetworkConfig)
Sourceconnectivity
Sourceconnectivity=(connectivity : Float64)
Sourcenetwork_name
Sourcenetwork_name=(network_name : String)
Sourcerunning
Sourcerunning=(running : Bool)
Sourcetimestamp
Sourcetimestamp=(timestamp : Time)
Sourceto_json(json : JSON::Builder)
Source