Web Viewer - v0.24.0-alpha.1+dev
    Preparing search index...

    Class LogChannel

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Parameters

      • on_send: (data: Uint8Array) => void
      • on_send_table: (data: Uint8Array) => void
      • on_close: () => void
      • get_state: () => "ready" | "starting" | "stopped"

      Returns LogChannel

    Accessors

    Methods

    • Close the channel.

      Does nothing if !this.ready.

      Returns void

    • Send an rrd containing log messages to the viewer.

      Does nothing if !this.ready.

      Parameters

      • rrd_bytes: Uint8Array

        Is an rrd file stored in a byte array, received via some other side channel.

      Returns void

    • Parameters

      • table_bytes: Uint8Array

      Returns void