Class CorrelationHandler<T>
Inheritance
System.Object
CorrelationHandler<T>
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class CorrelationHandler<T> : InboundChannelHandlerBase<ProtocolMessage> where T : IMessageCorrelationManager
Type Parameters
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)