Exemple #1
0
 /// <inheritdoc/>
 public ListSubscriptionResponse ListSubscription(ListSubscriptionRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListSubscriptionAsync(request).Result;
     }));
 }
Exemple #2
0
 /// <inheritdoc/>
 public SendMessageResponse SendMessage(string messageBody)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SendMessageAsync(messageBody).Result;
     }));
 }
Exemple #3
0
 /// <inheritdoc/>
 public BatchSendMessageResponse BatchSendMessage(BatchSendMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchSendMessageAsync(request).Result;
     }));
 }
Exemple #4
0
 /// <inheritdoc/>
 public ReceiveMessageResponse ReceiveMessage(ReceiveMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ReceiveMessageAsync(request).Result;
     }));
 }
Exemple #5
0
 /// <inheritdoc/>
 public PeekMessageResponse PeekMessage(PeekMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return PeekMessageAsync(request).Result;
     }));
 }
Exemple #6
0
 /// <inheritdoc/>
 public ChangeMessageVisibilityResponse ChangeMessageVisibility(ChangeMessageVisibilityRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ChangeMessageVisibilityAsync(request).Result;
     }));
 }
Exemple #7
0
 /// <inheritdoc/>
 public DeleteMessageResponse DeleteMessage(DeleteMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteMessageAsync(request).Result;
     }));
 }
Exemple #8
0
 /// <inheritdoc/>
 public Topic CreateTopic(string topicName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateTopicAsync(topicName).Result;
     }));
 }
Exemple #9
0
 /// <inheritdoc/>
 public Topic CreateTopic(CreateTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateTopicAsync(request).Result;
     }));
 }
Exemple #10
0
 /// <inheritdoc/>
 public ListQueueResponse ListQueue(string queueNamePrefix)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListQueueAsync(queueNamePrefix).Result;
     }));
 }
Exemple #11
0
 /// <inheritdoc/>
 public ListQueueResponse ListQueue(string queueNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListQueueAsync(queueNamePrefix, marker, maxReturns).Result;
     }));
 }
Exemple #12
0
 /// <inheritdoc/>
 public DeleteQueueResponse DeleteQueue(string queueName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteQueueAsync(queueName).Result;
     }));
 }
Exemple #13
0
 /// <inheritdoc/>
 public Queue CreateQueue(CreateQueueRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateQueueAsync(request).Result;
     }));
 }
Exemple #14
0
 /// <inheritdoc/>
 public Queue CreateQueue(string queueName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateQueueAsync(queueName).Result;
     }));
 }
Exemple #15
0
 /// <inheritdoc/>
 public SetQueueAttributesResponse SetAttributes(QueueAttributes attributes)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SetAttributesAsync(attributes).Result;
     }));
 }
Exemple #16
0
 /// <inheritdoc/>
 public DeleteTopicResponse DeleteTopic(string topicName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteTopicAsync(topicName).Result;
     }));
 }
Exemple #17
0
 /// <inheritdoc/>
 public ChangeMessageVisibilityResponse ChangeMessageVisibility(string receiptHandle, int visibilityTimeout)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ChangeMessageVisibilityAsync(receiptHandle, visibilityTimeout).Result;
     }));
 }
Exemple #18
0
 /// <inheritdoc/>
 public DeleteTopicResponse DeleteTopic(DeleteTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteTopicAsync(request).Result;
     }));
 }
Exemple #19
0
 /// <inheritdoc/>
 public DeleteMessageResponse DeleteMessage(string receiptHandle)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteMessageAsync(receiptHandle).Result;
     }));
 }
Exemple #20
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(string topicNamePrefix)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(topicNamePrefix).Result;
     }));
 }
Exemple #21
0
 /// <inheritdoc/>
 public ReceiveMessageResponse ReceiveMessage(uint waitSeconds)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ReceiveMessageAsync(waitSeconds).Result;
     }));
 }
Exemple #22
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(string topicNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(topicNamePrefix, marker, maxReturns).Result;
     }));
 }
Exemple #23
0
 /// <inheritdoc/>
 public BatchReceiveMessageResponse BatchReceiveMessage(uint batchSize, uint waitSeconds)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchReceiveMessageAsync(batchSize, waitSeconds).Result;
     }));
 }
Exemple #24
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(ListTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(request).Result;
     }));
 }
Exemple #25
0
 /// <inheritdoc/>
 public BatchPeekMessageResponse BatchPeekMessage(uint batchSize)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchPeekMessageAsync(batchSize).Result;
     }));
 }
Exemple #26
0
 /// <inheritdoc/>
 public SetAccountAttributesResponse SetAccountAttributes(SetAccountAttributesRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SetAccountAttributesAsync(request).Result;
     }));
 }
Exemple #27
0
 /// <inheritdoc/>
 public SendMessageResponse SendMessage(string messageBody, uint delaySeconds, uint priority)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SendMessageAsync(messageBody, delaySeconds, priority).Result;
     }));
 }
Exemple #28
0
 /// <inheritdoc/>
 public GetAccountAttributesResponse GetAccountAttributes()
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return GetAccountAttributesAsync().Result;
     }));
 }
Exemple #29
0
 /// <inheritdoc/>
 public GetQueueAttributesResponse GetAttributes(GetQueueAttributesRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return GetAttributesAsync(request).Result;
     }));
 }
Exemple #30
0
 /// <inheritdoc/>
 public ListSubscriptionResponse ListSubscription(string subscriptionNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListSubscriptionAsync(subscriptionNamePrefix, marker, maxReturns).Result;
     }));
 }