Show / Hide Table of Contents

    Class ProtocolMessageSignHandler

    Inheritance
    System.Object
    OutboundChannelHandlerBase<IMessageDto<ProtocolMessage>>
    ProtocolMessageSignHandler
    Inherited Members
    OutboundChannelHandlerBase<IMessageDto<ProtocolMessage>>.WriteAsync(IChannelHandlerContext, Object)
    Namespace: Catalyst.Core.Lib.IO.Handlers
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class ProtocolMessageSignHandler : OutboundChannelHandlerBase<IMessageDto<ProtocolMessage>>

    Constructors

    | Improve this Doc View Source

    ProtocolMessageSignHandler(IKeySigner, SigningContext)

    Declaration
    public ProtocolMessageSignHandler(IKeySigner keySigner, SigningContext signingContext)
    Parameters
    Type Name Description
    IKeySigner keySigner
    SigningContext signingContext

    Methods

    | Improve this Doc View Source

    WriteAsync0(IChannelHandlerContext, IMessageDto<ProtocolMessage>)

    Signs a protocol message, or straight WriteAndFlush non-protocolMessages

    Declaration
    protected override Task WriteAsync0(IChannelHandlerContext context, IMessageDto<ProtocolMessage> message)
    Parameters
    Type Name Description
    IChannelHandlerContext context
    IMessageDto<ProtocolMessage> message
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Catalyst.Core.Lib.IO.Handlers.OutboundChannelHandlerBase<Catalyst.Abstractions.IO.Messaging.Dto.IMessageDto<ProtocolMessage>>.WriteAsync0(IChannelHandlerContext, Catalyst.Abstractions.IO.Messaging.Dto.IMessageDto<ProtocolMessage>)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network