C# Class MessageGears.EventQueue.MessageGearsAwsQueuePoller

This class is used to poll an Amazon SQS queue for activity items generated from the MessageGears service.
显示文件 Open project: messagegears/messagegears-csharp-sdk

Public Methods

Method Description
MessageGearsAwsQueuePoller ( MessageGearsAwsProperties props, MessageGearsListener listener ) : System

Instantiates the Poller.

Start ( ) : void

Starts the polling thread(s) when invoked.

Stop ( ) : void

Stops the polling thread(s) when invoked.

Private Methods

Method Description
ProcessMessage ( ) : int
Run ( ) : void
dispatchItems ( ActivityItems items ) : void
getActivityItems ( Message message ) : ActivityItems

Method Details

MessageGearsAwsQueuePoller() public method

Instantiates the Poller.
public MessageGearsAwsQueuePoller ( MessageGearsAwsProperties props, MessageGearsListener listener ) : System
props MessageGearsAwsProperties /// A ///
listener MessageGearsListener /// A ///
return System

Start() public method

Starts the polling thread(s) when invoked.
public Start ( ) : void
return void

Stop() public method

Stops the polling thread(s) when invoked.
public Stop ( ) : void
return void