DBusInterfaceSkeletonImpl

class DBusInterfaceSkeletonImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusInterfaceSkeleton

The DBusInterfaceSkeletonImpl type represents a native instance of the abstract DBusInterfaceSkeleton class.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of DBusInterfaceSkeleton for the provided CPointer.

Properties

Link copied to clipboard
open override val gioDBusInterfacePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gioDBusInterfaceSkeletonPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
abstract val gioProxyPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun connect(connection: IoStream, proxyAddress: ProxyAddress, cancellable: Cancellable? = null): <Error class: unknown class><IoStream>

Given @connection to communicate with a proxy (eg, a #GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to @proxy_address, and if required, wraps the #GIOStream to handle proxy payload.

Link copied to clipboard
open fun connectAsync(connection: IoStream, proxyAddress: ProxyAddress, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)

Asynchronous version of g_proxy_connect().

Link copied to clipboard
open fun connectFinish(result: AsyncResult): <Error class: unknown class><IoStream>

See g_proxy_connect().

Link copied to clipboard
open fun export(connection: DBusConnection, objectPath: String): <Error class: unknown class><Boolean>

Exports @interface_ at @object_path on @connection.

Link copied to clipboard
open fun flush()

If @interface_ has outstanding changes, request for these changes to be emitted immediately.

Link copied to clipboard

Gets the first connection that @interface_ is exported on, if any.

Link copied to clipboard
open fun getConnections(): <Error class: unknown class>

Gets a list of the connections that @interface_ is exported on.

Link copied to clipboard

Gets the #GDBusInterfaceSkeletonFlags that describes what the behavior of @interface_

Link copied to clipboard
open override fun getInfo(): DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface implemented by @interface_.

Link copied to clipboard
open fun getObject(): DBusObject?

Gets the #GDBusObject that @interface_ belongs to, if any.

Link copied to clipboard
open fun getObjectPath(): String?

Gets the object path that @interface_ is exported on, if any.

Link copied to clipboard
open fun getProperties(): <Error class: unknown class>

Gets all D-Bus properties for @interface_.

Link copied to clipboard

Gets the interface vtable for the D-Bus interface implemented by

Link copied to clipboard
open fun hasConnection(connection: DBusConnection): Boolean

Checks if @interface_ is exported on @connection.

Link copied to clipboard
fun onGAuthorizeMethod(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (invocation: DBusMethodInvocation) -> Boolean): <Error class: unknown class>

Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.

Link copied to clipboard

Sets flags describing what the behavior of @skeleton should be.

Link copied to clipboard
open fun setObject(object: DBusObject? = null)

Sets the #GDBusObject for @interface_ to @object.

Link copied to clipboard

Some proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves. Others, like SOCKS4, do not allow this. This function will return false if @proxy is implementing such a protocol. When false is returned, the caller should resolve the destination hostname first, and then pass a #GProxyAddress containing the stringified IP address to g_proxy_connect() or g_proxy_connect_async().

Link copied to clipboard
open fun unexport()

Stops exporting @interface_ on all connections it is exported on.

Link copied to clipboard

Stops exporting @interface_ on @connection.