PyRepoClient constructor options.

interface Options {
    checkInterval?: number;
    combineRange?: boolean;
    commandLengthLimit?: number;
    commandTimeout?: number;
    cpOpts?: ConsumerOptions & ProducerOptions;
    incomingInterestTimeout?: number;
    notifyInterestLifetime?: number;
    postRetrievalDelay?: number;
    preCommandDelay?: number;
    pubAnnouncement?: false | Name;
    pubFwHint?: Name;
    pubPrefix?: Name;
    pubSigner?: Signer;
    repoPrefix: Name;
}

Hierarchy (View Summary)

Properties

checkInterval?: number

How often to check command progress in milliseconds.

1 second

combineRange?: boolean

If true, attempt to combine consecutive parameters into RangeParam.

false

commandLengthLimit?: number

Maximum TLV-LENGTH of each RepoCommandParam.

6144

commandTimeout?: number

Maximum duration of each command in milliseconds.

60 seconds

Consumer and producer options.

  • .fw may be specified.
  • Most other fields are overridden.
incomingInterestTimeout?: number

How long to wait for incoming Interest during insertion, in milliseconds.

5000

notifyInterestLifetime?: number

InterestLifetime of notify Interests.

postRetrievalDelay?: number

How long to allow for retransmissions after finishing command, in milliseconds.

100

preCommandDelay?: number

How long to allow for prefix announcement before sending command, in milliseconds.

100

pubAnnouncement?: false | Name

Prefix announcement to receive msg Interests.

.pubFwHint ?? .pubPrefix

pubFwHint?: Name

Forwarding hint of the local application.

pubPrefix?: Name

Name prefix of the local application.

"/localhost" + random-suffix

pubSigner?: Signer

Key to sign publications.

digestSigning

This key should be trusted to sign objects under pubPrefix. This may overridden on a per-publication basis by PublicationCallback returning Data.

repoPrefix: Name

Name prefix of the repo instance.

This corresponds to ndn-python-repo.conf .repo_config.repo_name key.