Show / Hide Table of Contents

    Class BroadcastHandler

    Channel Gossip Pipeline Handles gossip messages

    Inheritance
    System.Object
    InboundChannelHandlerBase<ProtocolMessage>
    BroadcastHandler
    Inherited Members
    InboundChannelHandlerBase<ProtocolMessage>.Logger
    InboundChannelHandlerBase<ProtocolMessage>.ChannelRead(IChannelHandlerContext, Object)
    Namespace: Catalyst.Core.Lib.IO.Handlers
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class BroadcastHandler : InboundChannelHandlerBase<ProtocolMessage>

    Constructors

    | Improve this Doc View Source

    BroadcastHandler(IBroadcastManager)

    Initializes a new instance of the BroadcastHandler class.

    Declaration
    public BroadcastHandler(IBroadcastManager broadcastManager)
    Parameters
    Type Name Description
    IBroadcastManager broadcastManager

    The gossip manager.

    Methods

    | Improve this Doc View Source

    ChannelRead0(IChannelHandlerContext, ProtocolMessage)

    Any broadcast message which is handled by this handler has already been signature checked. The BroadcastHandler will get the original inner message and pass it onto the handler in-charge of executing the RX handlers.

    Declaration
    protected override void ChannelRead0(IChannelHandlerContext ctx, ProtocolMessage msg)
    Parameters
    Type Name Description
    IChannelHandlerContext ctx

    The Channel handler context.

    ProtocolMessage msg

    The gossip message.

    Overrides
    Catalyst.Core.Lib.IO.Handlers.InboundChannelHandlerBase<ProtocolMessage>.ChannelRead0(IChannelHandlerContext, ProtocolMessage)

    See Also

    ObservableServiceHandler
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network