C# Класс DotNetWorkQueue.Transport.PostgreSQL.Basic.Message.ReceiveMessage

Handles receiving a message
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetMessage ( IMessageContext context, Connection connection, Action noMessageFoundActon, List routes ) : IReceivedMessageInternal

Returns the next message, if any.

GetMessageAsync ( IMessageContext context, Connection connection, Action noMessageFoundActon, List routes ) : Task

Returns the next message, if any.

ReceiveMessage ( QueueConsumerConfiguration configuration, IReceivedMessageInternal>.IQueryHandler receiveMessage, ICommandHandler setStatusCommandHandler, IQueueCancelWork cancelToken, IQueryHandler receiveMessageAsync ) : System

Initializes a new instance of the ReceiveMessage class.

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

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

Returns the next message, if any.
public GetMessage ( IMessageContext context, Connection connection, Action noMessageFoundActon, List routes ) : IReceivedMessageInternal
context IMessageContext The context.
connection Connection The connection.
noMessageFoundActon Action The no message found action.
routes List The routes.
Результат IReceivedMessageInternal

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

Returns the next message, if any.
public GetMessageAsync ( IMessageContext context, Connection connection, Action noMessageFoundActon, List routes ) : Task
context IMessageContext The context.
connection Connection The connection.
noMessageFoundActon Action The no message found action.
routes List The routes.
Результат Task

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

Initializes a new instance of the ReceiveMessage class.
public ReceiveMessage ( QueueConsumerConfiguration configuration, IReceivedMessageInternal>.IQueryHandler receiveMessage, ICommandHandler setStatusCommandHandler, IQueueCancelWork cancelToken, IQueryHandler receiveMessageAsync ) : System
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
receiveMessage IReceivedMessageInternal>.IQueryHandler The receive message.
setStatusCommandHandler ICommandHandler The set status command handler.
cancelToken IQueueCancelWork The cancel token.
receiveMessageAsync IQueryHandler The receive message asynchronous.
Результат System