pamoja for TypeScript - v0.1.17
    Preparing search index...

    Interface MeshFrame

    A mesh packet: its addressing, its payload, and the bytes to transmit.

    interface MeshFrame {
        broadcast: boolean;
        bytes: Buffer;
        dst: number;
        hopLimit: number;
        id: number;
        payload: Buffer;
        src: number;
        version: number;
    }
    Index
    broadcast: boolean

    Whether the frame is addressed to every node.

    bytes: Buffer

    The whole frame as it goes on the air.

    dst: number

    The address the frame is addressed to.

    hopLimit: number

    How many further relays the frame may take.

    id: number

    The sequence number identifying this packet from this source.

    payload: Buffer

    The payload the frame carries.

    src: number

    The address of the node the frame came from.

    version: number

    The protocol version the frame declares.