Class DiagnosticObserver
Inheritance
System.Object
DiagnosticObserver
Implements
IObserver<KeyValuePair<System.String, System.Object>>
Assembly: Steeltoe.Management.Abstractions.dll
Syntax
public abstract class DiagnosticObserver : object, IDiagnosticObserver
Constructors
|
Edit this page
View Source
DiagnosticObserver(String, String, ILogger)
Declaration
protected DiagnosticObserver(string name, string listenerName, ILogger logger = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
listenerName |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
ListenerName
Declaration
public string ListenerName { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Logger
Declaration
protected ILogger Logger { get; }
Property Value
|
Edit this page
View Source
ObserverName
Declaration
public string ObserverName { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Subscription
Declaration
protected IDisposable Subscription { get; set; }
Property Value
Type |
Description |
IDisposable |
|
Methods
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
OnCompleted()
Declaration
public virtual void OnCompleted()
|
Edit this page
View Source
OnError(Exception)
Declaration
public virtual void OnError(Exception error)
Parameters
Type |
Name |
Description |
Exception |
error |
|
|
Edit this page
View Source
OnNext(KeyValuePair<String, Object>)
Declaration
public virtual void OnNext(KeyValuePair<string, object> event)
Parameters
Type |
Name |
Description |
KeyValuePair<System.String, System.Object> |
event |
|
|
Edit this page
View Source
ProcessEvent(String, Object)
Declaration
public abstract void ProcessEvent(string event, object arg)
Parameters
Type |
Name |
Description |
System.String |
event |
|
System.Object |
arg |
|
|
Edit this page
View Source
Subscribe(DiagnosticListener)
Declaration
public void Subscribe(DiagnosticListener listener)
Parameters
Type |
Name |
Description |
DiagnosticListener |
listener |
|
Implements
IObserver<>