Class MessageObserverBase
Inheritance
System.Object
MessageObserverBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.IO.Observers
Assembly: Catalyst.Core.Lib.dll
Syntax
public abstract class MessageObserverBase : IMessageObserver, IObserver<IObserverDto<ProtocolMessage>>, IDisposable
Constructors
| Improve this Doc View SourceMessageObserverBase(ILogger, String)
Declaration
protected MessageObserverBase(ILogger logger, string filterMessageType)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
System. |
filterMessageType |
Fields
| Improve this Doc View SourceLogger
Declaration
protected readonly ILogger Logger
Field Value
Type | Description |
---|---|
ILogger |
MessageSubscription
Declaration
protected IDisposable MessageSubscription
Field Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System. |
disposing |
OnCompleted()
Declaration
public virtual void OnCompleted()
OnError(Exception)
Declaration
public virtual void OnError(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System. |
exception |
OnNext(IObserverDto<ProtocolMessage>)
Declaration
public abstract void OnNext(IObserverDto<ProtocolMessage> messageDto)
Parameters
Type | Name | Description |
---|---|---|
IObserver |
messageDto |
StartObserving(IObservable<IObserverDto<ProtocolMessage>>)
Declaration
public void StartObserving(IObservable<IObserverDto<ProtocolMessage>> messageStream)
Parameters
Type | Name | Description |
---|---|---|
System. |
messageStream |
Implements
System.IObserver<T>
System.IDisposable