The agent interface.

interface IAgent {
    type: Agent;
    getId(): string;
    getRemoteConnections(): Set<string>;
}

Hierarchy (view full)

Properties

Methods

Properties

type: Agent

The type of the node.

Methods

  • Get the ID of the node.

    Returns string

    The ID of the node.

Generated using TypeDoc