C# Class Stratosphere.Queue.Sqs.SqsQueue

Datei anzeigen Open project: petrohi/Stratosphere Class Usage Examples

Public Methods

Method Description
Configure ( System.Xml.Linq.XElement configuration ) : IQueue
Create ( string serviceId, string serviceSecret, string queueName ) : SqsQueue
Create ( string serviceId, string serviceSecret, string queueName, bool ensureQueue ) : SqsQueue
Delete ( ) : void
GetInfo ( long &messageCount, long &messageNotVisibleCount ) : void
ListQueues ( string serviceId, string serviceSecret ) : IEnumerable
Receive ( int maximumCount ) : IEnumerable
Send ( string message ) : void
TryCreate ( string serviceId, string serviceSecret, string queueName, bool ensureQueue, SqsQueue &queue ) : bool

Private Methods

Method Description
Create ( SqsService service, string queueName ) : SqsQueue
DeleteMessage ( string receiptHandle ) : void
GetAttributeValue ( System.Xml.Linq.XElement responseElement, string name ) : string
ListQueues ( SqsService service ) : IEnumerable
SqsQueue ( Uri uri, SqsService service ) : System
UriToName ( Uri uri ) : string

Method Details

Configure() public static method

public static Configure ( System.Xml.Linq.XElement configuration ) : IQueue
configuration System.Xml.Linq.XElement
return IQueue

Create() public static method

public static Create ( string serviceId, string serviceSecret, string queueName ) : SqsQueue
serviceId string
serviceSecret string
queueName string
return SqsQueue

Create() public static method

public static Create ( string serviceId, string serviceSecret, string queueName, bool ensureQueue ) : SqsQueue
serviceId string
serviceSecret string
queueName string
ensureQueue bool
return SqsQueue

Delete() public method

public Delete ( ) : void
return void

GetInfo() public method

public GetInfo ( long &messageCount, long &messageNotVisibleCount ) : void
messageCount long
messageNotVisibleCount long
return void

ListQueues() public static method

public static ListQueues ( string serviceId, string serviceSecret ) : IEnumerable
serviceId string
serviceSecret string
return IEnumerable

Receive() public method

public Receive ( int maximumCount ) : IEnumerable
maximumCount int
return IEnumerable

Send() public method

public Send ( string message ) : void
message string
return void

TryCreate() public static method

public static TryCreate ( string serviceId, string serviceSecret, string queueName, bool ensureQueue, SqsQueue &queue ) : bool
serviceId string
serviceSecret string
queueName string
ensureQueue bool
queue SqsQueue
return bool