Class VerifyMessageResponseObserver
Handler responsible for handling the server's response for the GetMempool request. The handler reads the response's payload and formats it in user readable format and writes it to the console.
Inheritance
System.Object
ResponseObserverBase<VerifyMessageResponse>
RpcResponseObserver<VerifyMessageResponse>
VerifyMessageResponseObserver
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.Modules.Rpc.Client.IO.Observers
Assembly: Catalyst.Core.Modules.Rpc.Client.dll
Syntax
public sealed class VerifyMessageResponseObserver : RpcResponseObserver<VerifyMessageResponse>, IMessageObserver, IDisposable, IResponseMessageObserver, IRpcResponseObserver
Constructors
| Improve this Doc View SourceVerifyMessageResponseObserver(ILogger)
Declaration
public VerifyMessageResponseObserver(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logger to log debug related information. |
Methods
| Improve this Doc View SourceHandleResponse(VerifyMessageResponse, IChannelHandlerContext, PeerId, ICorrelationId)
Declaration
protected override void HandleResponse(VerifyMessageResponse verifyMessageResponse, IChannelHandlerContext channelHandlerContext, PeerId senderPeerIdentifier, ICorrelationId correlationId)
Parameters
Type | Name | Description |
---|---|---|
VerifyMessageResponse | verifyMessageResponse | |
IChannelHandlerContext | channelHandlerContext | |
PeerId | senderPeerIdentifier | |
ICorrelationId | correlationId |
Implements
System.IDisposable