DBusMethodContext class

Namespace Runic.Platform.Linux.DBus in Runic.Platform.Linux.DBus 0.23.0

public sealed class DBusMethodContext

One call to an exported DBusObject.

Properties

Arguments

public ImmutableArray<DBusValue> Arguments { get; }

The call's arguments. File descriptors among them belong to the object, which disposes them.

Interface

public string Interface { get; }

The interface the call addressed; empty when the caller named none.

Member

public string Member { get; }

The method name.

Path

public DBusObjectPath Path { get; }

The object path the call addressed.

RequestAborted

public CancellationToken RequestAborted { get; }

Cancelled when the connection closes; a reply then can no longer be sent.

Sender

public string? Sender { get; }

The unique bus name of the caller.

Signature

public DBusSignature Signature { get; }

The arguments' signature, such as sa{sv}.