Table of Contents

Enum ObserverFlags

Namespace
Tmds.DBus.Protocol
Assembly
Tmds.DBus.Protocol.dll

Flags for Connection.AddMatchAsync that the message observer behavior.

[Flags]
public enum ObserverFlags

Fields

EmitAll = EmitOnDispose | EmitOnOwnerChanged | EmitOnConnectionFailed | EmitOnReaderFailed

Emit completion notifications for all events.

EmitOnConnectionClosed = 1

Emit a completion notification (ConnectionClosed) when the connection is closed.

[Obsolete("Use EmitOnConnectionClosed instead.")] EmitOnConnectionDispose = 1

Emit a completion notification (ConnectionClosed) when the connection is disposed.

EmitOnConnectionFailed = 16

Emit a completion notification (ConnectionFailed) when the connection fails.

[Obsolete("Use 'EmitOnConnectionClosed | EmitOnObserverDispose' instead.")] EmitOnDispose = EmitOnConnectionClosed | EmitOnObserverDispose

Emit a completion notification when either the connection or observer is disposed.

EmitOnObserverDispose = 2

Emit a completion notification (ObserverDisposed) when the observer is disposed.

EmitOnOwnerChanged = 8

Emit a completion notification (OwnerChanged) when the owner of the matched bus name changes.

EmitOnReaderFailed = 32

Emit a completion notification (ReaderFailed) when the reader fails.

NoSubscribe = 4

Do not subscribe to the signal on the bus.

None = 0

No flags are set.