Table of Contents

Class DBusServer

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class DBusServer
Inheritance
DBusServer
Inherited Members

Methods

GetClientAddress(IntPtr)

Calls native method g_dbus_server_get_client_address. Version: 2.26

[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetClientAddress(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetFlags(IntPtr)

Calls native method g_dbus_server_get_flags. Version: 2.26

[Version("2.26")]
public static extern DBusServerFlags GetFlags(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False

Returns

DBusServerFlags

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_dbus_server_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetGuid(IntPtr)

Calls native method g_dbus_server_get_guid. Version: 2.26

[Version("2.26")]
public static extern NonNullableUtf8StringUnownedHandle GetGuid(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

IsActive(IntPtr)

Calls native method g_dbus_server_is_active. Version: 2.26

[Version("2.26")]
public static extern bool IsActive(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewSync(NonNullableUtf8StringHandle, DBusServerFlags, NonNullableUtf8StringHandle, IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native constructor g_dbus_server_new_sync. Version: 2.26

[Version("2.26")]
public static extern IntPtr NewSync(NonNullableUtf8StringHandle address, DBusServerFlags flags, NonNullableUtf8StringHandle guid, IntPtr observer, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

address NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

flags DBusServerFlags

Transfer ownership: None Nullable: False

guid NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

observer IntPtr

Transfer ownership: None Nullable: True

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

Start(IntPtr)

Calls native method g_dbus_server_start. Version: 2.26

[Version("2.26")]
public static extern void Start(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False

Stop(IntPtr)

Calls native method g_dbus_server_stop. Version: 2.26

[Version("2.26")]
public static extern void Stop(IntPtr server)

Parameters

server IntPtr

Transfer ownership: None Nullable: False