Show / Hide Table of Contents

    Class CorrelationHandler<T>

    Inheritance
    System.Object
    InboundChannelHandlerBase<ProtocolMessage>
    CorrelationHandler<T>
    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 CorrelationHandler<T> : InboundChannelHandlerBase<ProtocolMessage> where T : IMessageCorrelationManager
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    CorrelationHandler(T)

    Declaration
    public CorrelationHandler(T messageCorrelationManager)
    Parameters
    Type Name Description
    T messageCorrelationManager

    Methods

    | Improve this Doc View Source

    ChannelRead0(IChannelHandlerContext, ProtocolMessage)

    The server should always correlate a response, if it can fire next pipeline, if not close the channel, If the message is not a response (IE Request/Broadcast) it should pass on to the next handler without attempting to correlate.

    Declaration
    protected override void ChannelRead0(IChannelHandlerContext ctx, ProtocolMessage message)
    Parameters
    Type Name Description
    IChannelHandlerContext ctx
    ProtocolMessage message
    Overrides
    Catalyst.Core.Lib.IO.Handlers.InboundChannelHandlerBase<ProtocolMessage>.ChannelRead0(IChannelHandlerContext, ProtocolMessage)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network