Class BroadcastHandler
Channel Gossip Pipeline Handles gossip messages
Inherited Members
Namespace: Catalyst.Core.Lib.IO.Handlers
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class BroadcastHandler : InboundChannelHandlerBase<ProtocolMessage>
Constructors
| Improve this Doc View SourceBroadcastHandler(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 SourceChannelRead0(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)