Class TransportAbstract

Low-level transport.

The transport understands NDN TLV structures, but does not otherwise concern with packet format.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

attributes: Transport.Attributes
rx: Rx
tx: Tx

Accessors

  • get mtu(): number
  • Return the transport MTU, if known. The transport should be able to send TLV structure of up to this size.

    Returns number

Methods

  • Reopen the transport after it has failed.

    Returns Promise<Transport>

    the same transport or a new transport after it has been reconnected.

Generated using TypeDoc