C# 클래스 DotNetWorkQueue.Transport.PostgreSQL.Basic.Message.ReceiveMessage

Handles receiving a message
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
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