C# Class Aspectacular.AzureQueueMulticastRoute

Represents a route between a single source queue and multiple destination queues.
Inheritance: IDisposable, ICallLogger
Mostra file Open project: vgribok/Aspectacular

Protected Properties

Property Type Description
queueMonitor AzureQueuePicker

Private Properties

Property Type Description
ConvertInboundMessagesToOutbound TimeSpan?>>.IEnumerable
DeleteSourceMessages void
ForwardMessages void
InstantiateQueueMonitor AzureQueuePicker
PostMessageToDestQueue void
PostMessagesToDestQueue int
RelayMessagesInternal void
TransformInboundMessages IList

Public Methods

Method Description
AzureQueueMulticastRoute ( ) : System

BeginAsyncMessageForwarding ( ) : bool

Starts asynchronous Azure queue multicast relaying of messages for the route, and immediately returns control.

EndMessageForwarding ( ) : void

Stops route's message relay.

Protected Methods

Method Description
IDisposable ( ) : void
RelayMessages ( Microsoft.WindowsAzure.Storage.Queue.CloudQueue sourceQueue, IList inboundMessages ) : void

Moves

Private Methods

Method Description
ConvertInboundMessagesToOutbound ( IEnumerable inboundMessages ) : TimeSpan?>>.IEnumerable
DeleteSourceMessages ( Microsoft.WindowsAzure.Storage.Queue.CloudQueue sourceQueue, IList inboundMessages, Stopwatch stopWatch ) : void
ForwardMessages ( int inboundMessageCount, IList inboundMessages, Stopwatch stopWatch ) : void
InstantiateQueueMonitor ( ) : AzureQueuePicker
PostMessageToDestQueue ( AzureDestinationQueueConnection destQueue, Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage outboundMessage, System.TimeSpan ttl ) : void
PostMessagesToDestQueue ( AzureDestinationQueueConnection destQueue, IEnumerable inboundMessages ) : int
RelayMessagesInternal ( Microsoft.WindowsAzure.Storage.Queue.CloudQueue sourceQueue, IList inboundMessages ) : void

Receives messages from source queue and puts them into destination queues.

TransformInboundMessages ( IList inboundMessages, Stopwatch stopWatch ) : IList

Method Details

AzureQueueMulticastRoute() public method

public AzureQueueMulticastRoute ( ) : System
return System

BeginAsyncMessageForwarding() public method

Starts asynchronous Azure queue multicast relaying of messages for the route, and immediately returns control.
public BeginAsyncMessageForwarding ( ) : bool
return bool

EndMessageForwarding() public method

Stops route's message relay.
public EndMessageForwarding ( ) : void
return void

IDisposable() protected method

protected IDisposable ( ) : void
return void

RelayMessages() protected method

Moves
protected RelayMessages ( Microsoft.WindowsAzure.Storage.Queue.CloudQueue sourceQueue, IList inboundMessages ) : void
sourceQueue Microsoft.WindowsAzure.Storage.Queue.CloudQueue
inboundMessages IList
return void

Property Details

queueMonitor protected_oe property

protected AzureQueuePicker queueMonitor
return AzureQueuePicker