NDNts
    Preparing search index...

    Interface Node

    A sync protocol node.

    Each sync protocol participant may have zero or more nodes.

    interface Node {
        buildDataInterestName: (seqNum: number) => Name;
        dataInterestPrefix: Name;
        id: SvSync.ID;
        remove: () => void;
        seqNum: number;
    }

    Hierarchy (View Summary)

    Index
    buildDataInterestName: (seqNum: number) => Name

    Build Data Interest Name for the given sequence number.

    Type Declaration

      • (seqNum: number): Name
      • Parameters

        • seqNum: number

          Sequence number; omit to obtain the prefix without sequence number.

          This follows the recommended syntax:

          • /<node-prefix>/<group-prefix>/<seq-num> (SVS v2)
          • /<node-prefix>/<group-prefix>/t=<bootstrap-time>/seq=<seq> (SVS v3)

        Returns Name

    dataInterestPrefix: Name

    Return the prefix for Data Interest Names. See buildDataInterestName for the conventions.

    Node identifier.

    remove: () => void

    Remove this node from participating in the sync protocol.

    This may or may not have effect, depending on the sync protocol.

    seqNum: number

    Current sequence number.

    It can be increased, but cannot be decreased.