C# Class DotNetWorkQueue.Metrics.Decorator.SendMessagesDecorator

Inheritance: ISendMessages
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Send ( IMessage messageToSend, IAdditionalMessageData data ) : IQueueOutputMessage

Sends a new message to an existing queue

Send ( IAdditionalMessageData>.List messages ) : IQueueOutputMessages

Sends a collection of new messages to an existing queue

SendAsync ( IMessage messageToSend, IAdditionalMessageData data ) : Task

Sends a new message to an existing queue

SendAsync ( IAdditionalMessageData>.List messages ) : Task

Sends a collection of new messages to an existing queue

SendMessagesDecorator ( IMetrics metrics, ISendMessages handler, IConnectionInformation connectionInformation ) : System.Collections.Generic

Initializes a new instance of the SendMessagesDecorator class.

Method Details

Send() public method

Sends a new message to an existing queue
public Send ( IMessage messageToSend, IAdditionalMessageData data ) : IQueueOutputMessage
messageToSend IMessage The message to send.
data IAdditionalMessageData The additional data.
return IQueueOutputMessage

Send() public method

Sends a collection of new messages to an existing queue
public Send ( IAdditionalMessageData>.List messages ) : IQueueOutputMessages
messages IAdditionalMessageData>.List The messages.
return IQueueOutputMessages

SendAsync() public method

Sends a new message to an existing queue
public SendAsync ( IMessage messageToSend, IAdditionalMessageData data ) : Task
messageToSend IMessage The message to send.
data IAdditionalMessageData The additional data.
return Task

SendAsync() public method

Sends a collection of new messages to an existing queue
public SendAsync ( IAdditionalMessageData>.List messages ) : Task
messages IAdditionalMessageData>.List The messages.
return Task

SendMessagesDecorator() public method

Initializes a new instance of the SendMessagesDecorator class.
public SendMessagesDecorator ( IMetrics metrics, ISendMessages handler, IConnectionInformation connectionInformation ) : System.Collections.Generic
metrics IMetrics The metrics factory.
handler ISendMessages The handler.
connectionInformation IConnectionInformation The connection information.
return System.Collections.Generic