Class (GI Struct)

NM-1.0NMTCQdisc

Index

Constructors

Properties

$gtype: GType<TCQdisc>

Methods

  • Gets the value of the attribute with name name on qdisc

    Parameters

    • name: string

      the name of an qdisc attribute

    Returns GLib.Variant

    the value of the attribute with name name on qdisc, or null if qdisc has no such attribute.

  • Gets an array of attribute names defined on qdisc.

    Returns string[]

    a null-terminated array of attribute names or null if no attributes are set.

  • Sets or clears the named attribute on qdisc to the given value.

    Parameters

    • name: string

      the name of an qdisc attribute

    • Optionalvalue: GLib.Variant<any>

      the value

    Returns void

  • Sets the queueing discipline handle.

    Parameters

    • handle: number

      the queueing discipline handle

    Returns void

  • Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

    Returns void