Class SignMessageResponseObserver
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<SignMessageResponse>
RpcResponseObserver<SignMessageResponse>
SignMessageResponseObserver
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 SignMessageResponseObserver : RpcResponseObserver<SignMessageResponse>, IMessageObserver, IDisposable, IResponseMessageObserver, IRpcResponseObserver
Constructors
| Improve this Doc View SourceSignMessageResponseObserver(IUserOutput, ILogger)
Declaration
public SignMessageResponseObserver(IUserOutput output, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
IUserOutput | output | |
ILogger | logger | Logger to log debug related information. |
Methods
| Improve this Doc View SourceHandleResponse(SignMessageResponse, IChannelHandlerContext, PeerId, ICorrelationId)
Declaration
protected override void HandleResponse(SignMessageResponse signMessageRequest, IChannelHandlerContext channelHandlerContext, PeerId senderPeerIdentifier, ICorrelationId correlationId)
Parameters
Type | Name | Description |
---|---|---|
SignMessageResponse | signMessageRequest | |
IChannelHandlerContext | channelHandlerContext | |
PeerId | senderPeerIdentifier | |
ICorrelationId | correlationId |
Implements
System.IDisposable