C# Класс DotNetWorkQueue.Metrics.Decorator.MessageInterceptorDecorator

Наследование: IMessageInterceptor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BytesToMessage ( byte input ) : byte[]

Runs the interceptor on the input and returns the output as a byte array. Used to re-construct a message stream.

MessageInterceptorDecorator ( IMetrics metrics, IMessageInterceptor handler, IConnectionInformation connectionInformation ) : System

Initializes a new instance of the MessageInterceptorDecorator class.

MessageToBytes ( byte input ) : MessageInterceptorResult

Runs the interceptor on the input and returns the output as a byte array. Used to serialize a message stream.

Описание методов

BytesToMessage() публичный Метод

Runs the interceptor on the input and returns the output as a byte array. Used to re-construct a message stream.
public BytesToMessage ( byte input ) : byte[]
input byte The input.
Результат byte[]

MessageInterceptorDecorator() публичный Метод

Initializes a new instance of the MessageInterceptorDecorator class.
public MessageInterceptorDecorator ( IMetrics metrics, IMessageInterceptor handler, IConnectionInformation connectionInformation ) : System
metrics IMetrics The metrics factory.
handler IMessageInterceptor The handler.
connectionInformation IConnectionInformation The connection information.
Результат System

MessageToBytes() публичный Метод

Runs the interceptor on the input and returns the output as a byte array. Used to serialize a message stream.
public MessageToBytes ( byte input ) : MessageInterceptorResult
input byte The input.
Результат MessageInterceptorResult