Options
All
  • Public
  • Public/Protected
  • All
Menu

Enable prefix registration via NDN-DPDK GraphQL management API.

Hierarchy

  • ReadvertiseDestination<State>
    • NdndpdkPrefixReg

Index

Constructors

constructor

Properties

Protected closed

closed: boolean = false

Protected Readonly queue

queue: Pushable<string> = ...

Protected Readonly table

table: Map<string, Record<State>> = ...

Methods

advertise

  • advertise(name: Name, nameHex: string): void
  • Set a prefix to be advertised.

    Parameters

    • name: Name
    • nameHex: string

    Returns void

disable

  • disable(): void
  • Disable and detach from forwarder.

    Once detached, this instance is no longer usable.

    Returns void

Protected doAdvertise

  • doAdvertise(name: Name, state: State): Promise<void>

Protected doWithdraw

  • doWithdraw(name: Name, state: State): Promise<void>

enable

  • enable(fw: Forwarder): void

Protected makeState

  • makeState(name: Name, nameHex: string): State

Protected restart

  • restart(nameHex: string, record: Record<State>): void

withdraw

  • withdraw(name: Name, nameHex: string): void

Generated using TypeDoc