C# Class Ploeh.Samples.Booking.WorkerRole.AzureQueueMessageProcessor

Exibir arquivo Open project: ploeh/CQRSonAzureDemo Class Usage Examples

Public Methods

Method Description
AzureQueueMessageProcessor ( IWindsorContainer container ) : System
Handle ( Microsoft.WindowsAzure.StorageClient.CloudQueueMessage message ) : void
PollForMessage ( CloudQueue queue ) : void
Run ( CancellationToken token ) : void

Method Details

AzureQueueMessageProcessor() public method

public AzureQueueMessageProcessor ( IWindsorContainer container ) : System
container IWindsorContainer
return System

Handle() public method

public Handle ( Microsoft.WindowsAzure.StorageClient.CloudQueueMessage message ) : void
message Microsoft.WindowsAzure.StorageClient.CloudQueueMessage
return void

PollForMessage() public method

public PollForMessage ( CloudQueue queue ) : void
queue Microsoft.WindowsAzure.StorageClient.CloudQueue
return void

Run() public method

public Run ( CancellationToken token ) : void
token System.Threading.CancellationToken
return void