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