Table of Contents

Class DBusServer

Namespace
Gio
Assembly
Gio-2.0.dll
public class DBusServer : Object, IObject, INotifyPropertyChanged, IDisposable, Initable, IHandle, GTypeProvider
Inheritance
DBusServer
Implements
Inherited Members

Constructors

DBusServer(bool, params ConstructArgument[])

protected DBusServer(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DBusServer(IntPtr, bool)

protected DBusServer(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ActivePropertyDefinition

public static readonly Property<bool, DBusServer> ActivePropertyDefinition

Field Value

Property<bool, DBusServer>

AddressPropertyDefinition

public static readonly Property<string?, DBusServer> AddressPropertyDefinition

Field Value

Property<string, DBusServer>

AuthenticationObserverPropertyDefinition

public static readonly Property<DBusAuthObserver?, DBusServer> AuthenticationObserverPropertyDefinition

Field Value

Property<DBusAuthObserver, DBusServer>

ClientAddressPropertyDefinition

public static readonly Property<string?, DBusServer> ClientAddressPropertyDefinition

Field Value

Property<string, DBusServer>

FlagsPropertyDefinition

public static readonly Property<DBusServerFlags, DBusServer> FlagsPropertyDefinition

Field Value

Property<DBusServerFlags, DBusServer>

GuidPropertyDefinition

public static readonly Property<string?, DBusServer> GuidPropertyDefinition

Field Value

Property<string, DBusServer>

NewConnectionSignal

Signal Descriptor for OnNewConnection.

public static readonly ReturningSignal<DBusServer, DBusServer.NewConnectionSignalArgs, bool> NewConnectionSignal

Field Value

ReturningSignal<DBusServer, DBusServer.NewConnectionSignalArgs, bool>

Properties

Active

public bool Active { get; }

Property Value

bool

Address

public string? Address { get; }

Property Value

string

AuthenticationObserver

public DBusAuthObserver? AuthenticationObserver { get; }

Property Value

DBusAuthObserver

ClientAddress

public string? ClientAddress { get; }

Property Value

string

Flags

public DBusServerFlags Flags { get; }

Property Value

DBusServerFlags

Guid

public string? Guid { get; }

Property Value

string

Methods

GetClientAddress()

[Version("2.26")]
public string GetClientAddress()

Returns

string

GetFlags()

[Version("2.26")]
public DBusServerFlags GetFlags()

Returns

DBusServerFlags

GetGType()

public static Type GetGType()

Returns

Type

GetGuid()

[Version("2.26")]
public string GetGuid()

Returns

string

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

IsActive()

[Version("2.26")]
public bool IsActive()

Returns

bool

NewSync(string, DBusServerFlags, string, DBusAuthObserver?, Cancellable?)

[Version("2.26")]
public static DBusServer NewSync(string address, DBusServerFlags flags, string guid, DBusAuthObserver? observer, Cancellable? cancellable)

Parameters

address string
flags DBusServerFlags
guid string
observer DBusAuthObserver
cancellable Cancellable

Returns

DBusServer

Start()

[Version("2.26")]
public void Start()

Stop()

[Version("2.26")]
public void Stop()

Events

OnNewConnection

public event ReturningSignalHandler<DBusServer, DBusServer.NewConnectionSignalArgs, bool> OnNewConnection

Event Type

ReturningSignalHandler<DBusServer, DBusServer.NewConnectionSignalArgs, bool>