Gjsify LogoGjsify Logo

Information about nodes in a remote object hierarchy.

record

Hierarchy

  • DBusNodeInfo

Index

Constructors

Properties

annotations: DBusAnnotationInfo[]

A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.

field
interfaces: DBusInterfaceInfo[]

A pointer to a %NULL-terminated array of pointers to #GDBusInterfaceInfo structures or %NULL if there are no interfaces.

field
nodes: DBusNodeInfo[]

A pointer to a %NULL-terminated array of pointers to #GDBusNodeInfo structures or %NULL if there are no nodes.

field
path: string

The path of the node or %NULL if omitted. Note that this may be a relative path. See the D-Bus specification for more details.

field
ref_count: number

The reference count or -1 if statically allocated.

field
name: string

Methods

  • generate_xml(indent: number, string_builder: GLib.String): void
  • Appends an XML representation of info (and its children) to string_builder.

    This function is typically used for generating introspection XML documents at run-time for handling the org.freedesktop.DBus.Introspectable.Introspect method.

    Parameters

    • indent: number

      Indentation level.

    • string_builder: GLib.String

      A #GString to to append XML data to.

    Returns void

  • unref(): void
  • If info is statically allocated, does nothing. Otherwise decreases the reference count of info. When its reference count drops to 0, the memory used is freed.

    Returns void

  • Parses xml_data and returns a #GDBusNodeInfo representing the data.

    The introspection XML must contain exactly one top-level element.

    Note that this routine is using a [GMarkup][glib-Simple-XML-Subset-Parser.description]-based parser that only accepts a subset of valid XML documents.

    Parameters

    • xml_data: string

      Valid D-Bus introspection XML.

    Returns DBusNodeInfo

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method