NDNts
    Preparing search index...

    Interface RxTx

    A logical face with separate RX and TX packet streams.

    interface RxTx {
        addEventListener?: <K extends "up" | "down">(
            type: K,
            listener: (ev: RxTxEventMap[K]) => any,
            options?: AddEventListenerOptions,
        ) => void;
        attributes?: FwFace.Attributes;
        removeEventListener?: <K extends "up" | "down">(
            type: K,
            listener: (ev: RxTxEventMap[K]) => any,
            options?: EventListenerOptions,
        ) => void;
        rx: AsyncIterable<FwPacket<L3Pkt>>;
        tx: (iterable: AsyncIterable<FwPacket<L3Pkt>>) => void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    addEventListener?: <K extends "up" | "down">(
        type: K,
        listener: (ev: RxTxEventMap[K]) => any,
        options?: AddEventListenerOptions,
    ) => void
    attributes?: FwFace.Attributes
    removeEventListener?: <K extends "up" | "down">(
        type: K,
        listener: (ev: RxTxEventMap[K]) => any,
        options?: EventListenerOptions,
    ) => void
    rx: AsyncIterable<FwPacket<L3Pkt>>

    RX packet stream received by the logical forwarder.

    tx: (iterable: AsyncIterable<FwPacket<L3Pkt>>) => void

    Function to accept TX packet stream sent by the logical forwarder.