The local agent interface.

interface ILocalAgent {
    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.