Enum ObserverFlags
Flags for Connection.AddMatchAsync that the message observer behavior.
[Flags]
public enum ObserverFlags
Fields
EmitAll = EmitOnDispose | EmitOnOwnerChanged | EmitOnConnectionFailed | EmitOnReaderFailedEmit completion notifications for all events.
EmitOnConnectionClosed = 1Emit a completion notification (ConnectionClosed) when the connection is closed.
[Obsolete("Use EmitOnConnectionClosed instead.")] EmitOnConnectionDispose = 1Emit a completion notification (ConnectionClosed) when the connection is disposed.
EmitOnConnectionFailed = 16Emit a completion notification (ConnectionFailed) when the connection fails.
[Obsolete("Use 'EmitOnConnectionClosed | EmitOnObserverDispose' instead.")] EmitOnDispose = EmitOnConnectionClosed | EmitOnObserverDisposeEmit a completion notification when either the connection or observer is disposed.
EmitOnObserverDispose = 2Emit a completion notification (ObserverDisposed) when the observer is disposed.
EmitOnOwnerChanged = 8Emit a completion notification (OwnerChanged) when the owner of the matched bus name changes.
EmitOnReaderFailed = 32Emit a completion notification (ReaderFailed) when the reader fails.
NoSubscribe = 4Do not subscribe to the signal on the bus.
None = 0No flags are set.