C# Class Stratosphere.Queue.Sqs.SqsQueue

Afficher le fichier Open project: petrohi/Stratosphere Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static Configure ( System.Xml.Linq.XElement configuration ) : IQueue
configuration System.Xml.Linq.XElement
Résultat IQueue

Create() public static méthode

public static Create ( string serviceId, string serviceSecret, string queueName ) : SqsQueue
serviceId string
serviceSecret string
queueName string
Résultat SqsQueue

Create() public static méthode

public static Create ( string serviceId, string serviceSecret, string queueName, bool ensureQueue ) : SqsQueue
serviceId string
serviceSecret string
queueName string
ensureQueue bool
Résultat SqsQueue

Delete() public méthode

public Delete ( ) : void
Résultat void

GetInfo() public méthode

public GetInfo ( long &messageCount, long &messageNotVisibleCount ) : void
messageCount long
messageNotVisibleCount long
Résultat void

ListQueues() public static méthode

public static ListQueues ( string serviceId, string serviceSecret ) : IEnumerable
serviceId string
serviceSecret string
Résultat IEnumerable

Receive() public méthode

public Receive ( int maximumCount ) : IEnumerable
maximumCount int
Résultat IEnumerable

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

TryCreate() public static méthode

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