function AgentList () {
    // This is a map from agent_address to info block.
    this.agent_list = {};

    // Map from agent_address to map from subscriber to callback.
    // Callback is invoked with (agent_addr, heartbeat_ok).
    this.callbacks = {};
}
/** AgentList
 *
 *  For maintaining the list of active Agents; uses heartbeat feed(s)
 *  to keep list up-to-date.
 */
AgentList
For maintaining the list of active Agents; uses heartbeat feed(s)
to keep list up-to-date.
AgentList For maintaining the list of active Agents ; uses heartbeat feed ( s ) to keep list up - to - date .
function AgentList () {
    this.agent_list = {};
    this.callbacks = {};
}
function AgentList ( ) { this . agent_list = { } ; this . callbacks = { } ; }
AgentList
  For maintaining the list of active Agents; uses heartbeat feed(s)
  to keep list up-to-date.
AgentList For maintaining the list of active Agents ; uses heartbeat feed ( s ) to keep list up - to - date .
// This is a map from agent_address to info block. // Map from agent_address to map from subscriber to callback. // Callback is invoked with (agent_addr, heartbeat_ok).