WACloudStorageClient Class Reference
Inherits from | NSObject |
Declared in | WACloudStorageClient.h |
Overview
The cloud storage client is used to invoke operations on, and return data from, Windows Azure storage.
Tasks
Setting the Delegate
-
delegate
The delegate is sent messages when content is loaded or errors occur from Windows Azure storage.
property
Managing Certificates
-
+ ignoreSSLErrorFor:
Ignores any ssl errors from the given host. This is useful when using a self signed certificate.
Blob Operations
-
– fetchBlobContainers
Fetch a list of blob containers asynchronously.
-
– fetchBlobContainersWithCompletionHandler:
Fetch a list of blob containers asynchronously using a block.
-
– fetchBlobContainersWithContinuation:maxResult:
Fetch a list of blob containers asynchronously using continuation.
-
– fetchBlobContainersWithContinuation:maxResult:usingCompletionHandler:
Fetch a list of blob containers asynchronously using continuation with a block.
-
– fetchBlobContainersWithRequest:
Fetch a list of blob containers asynchronously using a fetch request.
-
– fetchBlobContainersWithRequest:usingCompletionHandler:
Fetch a list of blob containers asynchronously using fetch request with a block.
-
– fetchBlobContainerNamed:
Fetch a blob container by name asynchronously.
-
– fetchBlobContainerNamed:withCompletionHandler:
Fetch a blob container by name asynchronously using a block.
-
– addBlobContainerNamed:
Adds a named blob container asynchronously.
-
– addBlobContainerNamed:withCompletionHandler:
Adds a named blob container asynchronously using a block.
The method will run asynchronously and will call back through the block. The block wil contain an error if one occurred or nil.
-
– addBlobContainer:
Adds a named blob container asynchronously.
-
– addBlobContainer:withCompletionHandler:
Adds a named blob container asynchronously using a block.
-
– deleteBlobContainer:
Deletes a specified blob container asynchronously.
-
– deleteBlobContainer:withCompletionHandler:
Deletes a specified blob container asynchronously using a block.
-
– deleteBlobContainerNamed:
Deletes a specified named blob container asynchronously.
-
– deleteBlobContainerNamed:withCompletionHandler:
Deletes a specified named blob container asynchronously with a block.
The method will run asynchronously and will call back through the block. The block will return an error if there was an error or nil if not.
-
– fetchBlobs:
Fetch the blobs for the specified blob container asynchronously.
-
– fetchBlobs:withCompletionHandler:
Fetch the blobs for the specified blob container asynchronously with a block.
-
– fetchBlobsWithContinuation:resultContinuation:maxResult:
Fetch the blobs for the specified blob container asynchronously using continuation.
-
– fetchBlobsWithContinuation:resultContinuation:maxResult:usingCompletionHandler:
Fetch the blobs for the specified blob container asynchronously using continuation with a block.
-
– fetchBlobsWithRequest:
Fetch the blobs for the specified blob container asynchronously using continuation.
-
– fetchBlobsWithRequest:usingCompletionHandler:
Fetch the blobs for the specified blob container asynchronously using continuation with a block.
-
– fetchBlobData:
Fetch the blob data for the specified blob asynchronously.
-
– fetchBlobData:withCompletionHandler:
Fetch the blob data for the specified blob asynchronously.
The method will run asynchronously and will call back through the block. The block will be called with the data for the blob if the request succeeds or an error if the request fails.
-
– fetchBlobDataFromURL:
Fetch the blob data for the specified url asynchronously.
-
– fetchBlobDataFromURL:withCompletionHandler:
Fetch the blob data for the specified blob asynchronously.
-
– addBlobToContainer:blobName:contentData:contentType:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type.
-
– addBlobToContainer:blobName:contentData:contentType:withCompletionHandler:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type with a block.
The method will run asynchronously and will call back through the block. The block will be called an error if the request fails, otherwise the error object will be nil.
-
– addBlob:toContainer:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type.
-
– addBlob:toContainer:withCompletionHandler:
Adds a new blob to a container asynchronously, given the blob and container with a block.
-
– deleteBlob:
Deletes a given blob asynchronously.
-
– deleteBlob:withCompletionHandler:
Deletes a blob asynchronously using a block.
Queue Operations
-
– fetchQueues
Fetch a list of queues asynchronously.
-
– fetchQueuesWithCompletionHandler:
Fetch a list of queues asynchronously using a block.
-
– fetchQueuesWithContinuation:maxResult:
Fetch a list of queues asynchronously with a result continuation.
-
– fetchQueuesWithContinuation:maxResult:usingCompletionHandler:
Fetch a list of queues asynchronously with a result continuation using a block.
-
– fetchQueuesWithRequest:
Fetch a list of queues asynchronously.
-
– fetchQueuesWithRequest:usingCompletionHandler:
Fetch a list of queues asynchronously using a block.
-
– addQueueNamed:
Adds a queue asynchronously, given a specified queue name.
-
– addQueueNamed:withCompletionHandler:
Adds a queue asynchronously, given a specified queue name using a block.
-
– deleteQueueNamed:
Deletes a queue asynchronously, given a specified queue name.
-
– deleteQueueNamed:withCompletionHandler:
Deletes a queue asynchronously, given a specified queue name using a block.
-
– fetchQueueMessage:
Fetch a single message asynchronously from the specified queue.
-
– fetchQueueMessage:withCompletionHandler:
Fetch a single message asynchronously from the specified queue using a block.
-
– fetchQueueMessages:
Fetch messages asynchronously for a given queue name.
-
– fetchQueueMessages:withCompletionHandler:
Fetch messages asynchronously for a given queue name using a block.
-
– fetchQueueMessages:fetchCount:
Fetch a batch of messages asynchronously from the specified queue.
-
– fetchQueueMessages:fetchCount:withCompletionHandler:
Fetch a batch of messages asynchronously from the specified queue using a block.
-
– fetchQueueMessagesWithRequest:
Fetch a batch of messages asynchronously from the specified queue.
-
– fetchQueueMessagesWithRequest:usingCompletionHandler:
Fetch a batch of messages asynchronously from the specified queue using a block.
-
– peekQueueMessage:
Peeks a single message from the specified queue asynchronously.
-
– peekQueueMessage:withCompletionHandler:
Peeks a single message from the specified queue asynchronously using a block.
-
– peekQueueMessages:fetchCount:
Peeks a batch of messages from the specified queue asynchronously.
-
– peekQueueMessages:fetchCount:withCompletionHandler:
Peeks a batch of messages from the specified queue asynchronously using a block.
-
– deleteQueueMessage:queueName:
Deletes a message asynchronously, given a specified queue name and queueMessage.
-
– deleteQueueMessage:queueName:withCompletionHandler:
Deletes a message asynchronously, given a specified queue name and queueMessage using a block.
-
– addMessageToQueue:queueName:
Adds a message into a queue asynchronously, given a specified queue name and message.
-
– addMessageToQueue:queueName:withCompletionHandler:
Adds a message into a queue asynchronously, given a specified queue name and message.
Table Operations
-
– fetchTables
Fetch a list of tables asynchronously.
-
– fetchTablesWithCompletionHandler:
Fetch a list of tables asynchronously using a block.
-
– fetchTablesWithContinuation:
Fetch a list of tables asynchronously.
-
– fetchTablesWithContinuation:usingCompletionHandler:
Fetch a list of tables asynchronously.
-
– createTableNamed:
Creates a new table asynchronously with a specified name.
-
– createTableNamed:withCompletionHandler:
Creates a new table asynchronously with a specified name.
-
– deleteTableNamed:
Deletes a specifed table asynchronously.
-
– deleteTableNamed:withCompletionHandler:
Deletes a specifed table asynchronously using a block.
-
– fetchEntities:
Fetches the entities for a given table asynchronously.
-
– fetchEntities:withCompletionHandler:
Fetches the entities for a given table asynchronously using a block.
-
– fetchEntitiesWithContinuation:
Fetches the entities for a given table asynchronously using a result continuation.
-
– fetchEntitiesWithContinuation:usingCompletionHandler:
Fetches the entities for a given table asynchronously using a result continuation and block.
-
– fetchEntitiesWithRequest:
Fetches the entities for a given table asynchronously using a result continuation.
-
– fetchEntitiesWithRequest:usingCompletionHandler:
Fetches the entities for a given table asynchronously using a result continuation and block.
-
– insertEntity:
Inserts a new entity into an existing table asynchronously.
-
– insertEntity:withCompletionHandler:
Inserts a new entity into an existing table asynchronously using a block.
-
– updateEntity:
Updates an existing entity within a table asynchronously.
-
– updateEntity:withCompletionHandler:
Updates an existing entity within a table asynchronously using a block.
-
– mergeEntity:
Merges an existing entity within a table asynchronously.
-
– mergeEntity:withCompletionHandler:
Merges an existing entity within a table asynchronously using a block.
-
– deleteEntity:
Deletes an existing entity within a table asynchronously.
-
– deleteEntity:withCompletionHandler:
Deletes an existing entity within a table asynchronously using a block.
Creating and Initializing Clients
-
+ storageClientWithCredential:
Create a storage client initialized with the given credential.
Properties
delegate
The delegate is sent messages when content is loaded or errors occur from Windows Azure storage.
@property (assign) id<WACloudStorageClientDelegate> delegate
Declared In
WACloudStorageClient.h
Class Methods
ignoreSSLErrorFor:
Ignores any ssl errors from the given host. This is useful when using a self signed certificate.
+ (void)ignoreSSLErrorFor:(NSString *)host
Parameters
- host
The host to ignore errors.
Declared In
WACloudStorageClient.h
storageClientWithCredential:
Create a storage client initialized with the given credential.
+ (WACloudStorageClient *)storageClientWithCredential:(WAAuthenticationCredential *)credential
Parameters
- credential
The credentials for Windows Azure storage.
Return Value
The newly initialized WACloudStorageClient object.
Declared In
WACloudStorageClient.h
Instance Methods
addBlob:toContainer:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type.
- (void)addBlob:(WABlob *)blob toContainer:(WABlobContainer *)container
Parameters
- blob
The blob to add.
- container
The container to use to add the blob.
- contentType
The content type for the blob.
- contentData
The data for the blob.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClient storageClient:didAddBlob:toContainer:].
See Also
Declared In
WACloudStorageClient.h
addBlob:toContainer:withCompletionHandler:
Adds a new blob to a container asynchronously, given the blob and container with a block.
- (void)addBlob:(WABlob *)blob toContainer:(WABlobContainer *)container withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- blob
The blob to add.
- container
The container to use to add the blob.
- block
A block object called with the results of the add.
Discussion
The method will run asynchronously and will call back through the block. The block will be called an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
addBlobContainer:
Adds a named blob container asynchronously.
- (BOOL)addBlobContainer:(WABlobContainer *)container
Parameters
- container
The container to add.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didAddBlobContainer:].
See Also
Declared In
WACloudStorageClient.h
addBlobContainer:withCompletionHandler:
Adds a named blob container asynchronously using a block.
- (BOOL)addBlobContainer:(WABlobContainer *)container withCompletionHandler:(void ( ^ ) ( NSError *))block
Parameters
- container
The container to add.
- block
A block object called with the results of the add.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the block. The block wil contain an error if one occurred or nil.
Declared In
WACloudStorageClient.h
addBlobContainerNamed:
Adds a named blob container asynchronously.
- (BOOL)addBlobContainerNamed:(NSString *)containerName
Parameters
- containerName
The container name to add.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didAddBlobContainerNamed:].
Deprecated: now use addBlobContainer:
See Also
Declared In
WACloudStorageClient.h
addBlobContainerNamed:withCompletionHandler:
Adds a named blob container asynchronously using a block.
The method will run asynchronously and will call back through the block. The block wil contain an error if one occurred or nil.
- (BOOL)addBlobContainerNamed:(NSString *)containerName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- containerName
The container name to add.
- block
A block object called with the results of the add.
Return Value
Returns if the request was sent or not.
Discussion
Deprecated: now use addBlobContainer:withCompletionHandler:
Declared In
WACloudStorageClient.h
addBlobToContainer:blobName:contentData:contentType:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type.
- (void)addBlobToContainer:(WABlobContainer *)container blobName:(NSString *)blobName contentData:(NSData *)contentData contentType:(NSString *)contentType
Parameters
- container
The container to use to add the blob.
- blobName
The name of the blob.
- contentData
The data for the blob.
- contentType
The content type for the blob.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClient storageClient:didAddBlobToContainer:blobName:].
Deprecated: now use addBlob:toContainer:withCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
addBlobToContainer:blobName:contentData:contentType:withCompletionHandler:
Adds a new blob to a container asynchronously, given the name of the blob, binary data for the blob, and content type with a block.
The method will run asynchronously and will call back through the block. The block will be called an error if the request fails, otherwise the error object will be nil.
- (void)addBlobToContainer:(WABlobContainer *)container blobName:(NSString *)blobName contentData:(NSData *)contentData contentType:(NSString *)contentType withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- container
The container to use to add the blob.
- blobName
The name of the blob to add.
- contentData
The content of the blob to add.
- contentType
The type of content to add.
- block
A block object called with the results of the add.
Discussion
Deprecated: now use addBlob:toContainer:withCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
addMessageToQueue:queueName:
Adds a message into a queue asynchronously, given a specified queue name and message.
- (void)addMessageToQueue:(NSString *)message queueName:(NSString *)queueName
Parameters
- message
The message to add.
- queueName
The name of the queue to add the message.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didAddMessageToQueue:queueName:].
See Also
Declared In
WACloudStorageClient.h
addMessageToQueue:queueName:withCompletionHandler:
Adds a message into a queue asynchronously, given a specified queue name and message.
- (void)addMessageToQueue:(NSString *)message queueName:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- message
The message to add.
- queueName
The name of the queue to add the message.
- block
A block object called with the results of the add.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
addQueueNamed:
Adds a queue asynchronously, given a specified queue name.
- (void)addQueueNamed:(NSString *)queueName
Parameters
- queueName
The name of the queue to add.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didAddQueueNamed:].
See Also
Declared In
WACloudStorageClient.h
addQueueNamed:withCompletionHandler:
Adds a queue asynchronously, given a specified queue name using a block.
- (void)addQueueNamed:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- queueName
The name of the queue to add.
- block
A block object called with the results of the add.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
createTableNamed:
Creates a new table asynchronously with a specified name.
- (void)createTableNamed:(NSString *)newTableName
Parameters
- newTableName
The new table name.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didCreateTableNamed:].
See Also
Declared In
WACloudStorageClient.h
createTableNamed:withCompletionHandler:
Creates a new table asynchronously with a specified name.
- (void)createTableNamed:(NSString *)newTableName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- newTableName
The new table name.
- block
A block object called with the results of the create.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
deleteBlob:
Deletes a given blob asynchronously.
- (void)deleteBlob:(WABlob *)blob
Parameters
- blob
The blob to delete
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didDeleteBlob:].
See Also
Declared In
WACloudStorageClient.h
deleteBlob:withCompletionHandler:
Deletes a blob asynchronously using a block.
- (void)deleteBlob:(WABlob *)blob withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- blob
The blob to delete.
- block
A block object called with the results of the delete.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
deleteBlobContainer:
Deletes a specified blob container asynchronously.
- (BOOL)deleteBlobContainer:(WABlobContainer *)container
Parameters
- container
The container to delete.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didDeleteBlobContainerNamed:].
See Also
Declared In
WACloudStorageClient.h
deleteBlobContainer:withCompletionHandler:
Deletes a specified blob container asynchronously using a block.
- (BOOL)deleteBlobContainer:(WABlobContainer *)container withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- container
The container to delete.
- block
A block object called with the results of the delete.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the block. The block will return an error if there was an error or nil if not.
See Also
Declared In
WACloudStorageClient.h
deleteBlobContainerNamed:
Deletes a specified named blob container asynchronously.
- (BOOL)deleteBlobContainerNamed:(NSString *)containerName
Parameters
- containerName
The name of the container to delete.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didDeleteBlobContainerNamed:].
Deprecated: now use deleteBlobContainer:.
See Also
Declared In
WACloudStorageClient.h
deleteBlobContainerNamed:withCompletionHandler:
Deletes a specified named blob container asynchronously with a block.
The method will run asynchronously and will call back through the block. The block will return an error if there was an error or nil if not.
- (BOOL)deleteBlobContainerNamed:(NSString *)containerName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- containerName
The name of the container to delete.
- block
A block object called with the results of the delete.
Return Value
Returns if the request was sent or not.
Discussion
Deprecated: now use deleteBlobContainer:withCompletionHandler:
Declared In
WACloudStorageClient.h
deleteEntity:
Deletes an existing entity within a table asynchronously.
- (BOOL)deleteEntity:(WATableEntity *)existingEntity
Parameters
- existingEntity
The entity to delete.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didDeleteEntity:].
See Also
Declared In
WACloudStorageClient.h
deleteEntity:withCompletionHandler:
Deletes an existing entity within a table asynchronously using a block.
- (BOOL)deleteEntity:(WATableEntity *)existingEntity withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- existingEntity
The entity to delete.
- block
A block object called with the results of the delete.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
deleteQueueMessage:queueName:
Deletes a message asynchronously, given a specified queue name and queueMessage.
- (void)deleteQueueMessage:(WAQueueMessage *)queueMessage queueName:(NSString *)queueName
Parameters
- queueMessage
The message to delete.
- queueName
The name of the queue that owns the message.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didDeleteQueueMessage:queueName:].
See Also
Declared In
WACloudStorageClient.h
deleteQueueMessage:queueName:withCompletionHandler:
Deletes a message asynchronously, given a specified queue name and queueMessage using a block.
- (void)deleteQueueMessage:(WAQueueMessage *)queueMessage queueName:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- queueMessage
The message to delete.
- queueName
The name of the queue that owns the message.
- block
A block object called with the results of the peek.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
deleteQueueNamed:
Deletes a queue asynchronously, given a specified queue name.
- (void)deleteQueueNamed:(NSString *)queueName
Parameters
- queueName
The name of the queue to delete.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didDeleteQueueNamed:].
See Also
Declared In
WACloudStorageClient.h
deleteQueueNamed:withCompletionHandler:
Deletes a queue asynchronously, given a specified queue name using a block.
- (void)deleteQueueNamed:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- queueName
The name of the queue to delete.
- block
A block object called with the results of the delete.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
deleteTableNamed:
Deletes a specifed table asynchronously.
- (void)deleteTableNamed:(NSString *)tableName
Parameters
- tableName
The name of the table to delete.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didDeleteTableNamed:].
See Also
Declared In
WACloudStorageClient.h
deleteTableNamed:withCompletionHandler:
Deletes a specifed table asynchronously using a block.
- (void)deleteTableNamed:(NSString *)tableName withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- tableName
The name of the table to delete.
- block
A block object called with the results of the delete.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
fetchBlobContainerNamed:
Fetch a blob container by name asynchronously.
- (void)fetchBlobContainerNamed:(NSString *)containerName
Parameters
- containerName
The name of the container to fetch.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobContainer:].
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainerNamed:withCompletionHandler:
Fetch a blob container by name asynchronously using a block.
- (void)fetchBlobContainerNamed:(NSString *)containerName withCompletionHandler:(void ( ^ ) ( WABlobContainer *container , NSError *error ))block
Parameters
- containerName
The name of the container to fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will contain the WABlobContainer object or an error if one occurs.
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainers
Fetch a list of blob containers asynchronously.
- (void)fetchBlobContainers
Discussion
@discussion The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobContainers:]. There could be a limit to the number of containers that are returned. If you have many containers you may want to use the continuation version of fetching the containers.
Deprecated: now use fetchBlobContainersWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainersWithCompletionHandler:
Fetch a list of blob containers asynchronously using a block.
- (void)fetchBlobContainersWithCompletionHandler:(void ( ^ ) ( NSArray *containers , NSError *error ))block
Parameters
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will contain the array of WABlobContainer objects or an error if one occurs. There could be a limit to the number of containers that are returned. If you have many containers you may want to use the continuation version of fetching the containers.
Deprecated: now use fetchBlobContainersWithRequest:usingCompletionHandler:.
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainersWithContinuation:maxResult:
Fetch a list of blob containers asynchronously using continuation.
- (void)fetchBlobContainersWithContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult
Parameters
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of containers to reuturn for this fetch.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobContainers:withResultContinuation:].
Deprecated: now use fetchBlobContainersWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainersWithContinuation:maxResult:usingCompletionHandler:
Fetch a list of blob containers asynchronously using continuation with a block.
- (void)fetchBlobContainersWithContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult usingCompletionHandler:(void ( ^ ) ( NSArray *containers , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of containers to reuturn for this fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will contain the array of WABlobContainer objects or an error if one occurs. The WAResultContinuation returned in the block can be used to call this method again to get the next set of containers.
Deprecated: now use fetchBlobContainersWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchBlobContainersWithRequest:
Fetch a list of blob containers asynchronously using a fetch request.
- (void)fetchBlobContainersWithRequest:(WABlobContainerFetchRequest *)fetchRequest
Parameters
- fetchRequest
The fetch request for the containers.
Discussion
The method will run asynchronously and will call back through the delegate set for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobContainers:withResultContinuation:].
Declared In
WACloudStorageClient.h
fetchBlobContainersWithRequest:usingCompletionHandler:
Fetch a list of blob containers asynchronously using fetch request with a block.
- (void)fetchBlobContainersWithRequest:(WABlobContainerFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *containers , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- fetchRequest
The fetch request for the containers.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will contain the array of WABlobContainer objects or an error if one occurs. The WAResultContinuation returned in the block can be used to call this method again to get the next set of containers.
Declared In
WACloudStorageClient.h
fetchBlobData:
Fetch the blob data for the specified blob asynchronously.
- (void)fetchBlobData:(WABlob *)blob
Parameters
- blob
The blob to fetch the data.
Discussion
The method will run asynchronously and will call back through the delegate for the client.
See Also
Declared In
WACloudStorageClient.h
fetchBlobData:withCompletionHandler:
Fetch the blob data for the specified blob asynchronously.
The method will run asynchronously and will call back through the block. The block will be called with the data for the blob if the request succeeds or an error if the request fails.
- (void)fetchBlobData:(WABlob *)blob withCompletionHandler:(void ( ^ ) ( NSData *data , NSError *error ))block
Parameters
- blob
The blob to fetch the data.
- block
A block object called with the results of the fetch.
See Also
Declared In
WACloudStorageClient.h
fetchBlobDataFromURL:
Fetch the blob data for the specified url asynchronously.
- (BOOL)fetchBlobDataFromURL:(NSURL *)URL
Parameters
- URL
The URL of the blob to fetch the data.
Return Value
Returns if the request was sent or not.
Discussion
The method will run asynchronously and will call back through the delegate for the client. This method will only run when you are using the proxy service.
See Also
Declared In
WACloudStorageClient.h
fetchBlobDataFromURL:withCompletionHandler:
Fetch the blob data for the specified blob asynchronously.
- (BOOL)fetchBlobDataFromURL:(NSURL *)URL withCompletionHandler:(void ( ^ ) ( NSData *data , NSError *error ))block
Parameters
- URL
The URL of the blob to fetch the data.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with the data for the blob if the request succeeds or an error if the request fails. This method will only run when you are using the proxy service.
Declared In
WACloudStorageClient.h
fetchBlobs:
Fetch the blobs for the specified blob container asynchronously.
- (void)fetchBlobs:(WABlobContainer *)container
Parameters
- container
The container for the blobs to fetch.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobs:inContainer:]. There could be a limit to the number of blobs that are returned. If you have many blobs, you may want to use the continuation version of fetching the blobs.
Deprecated: now use fetchBlobsWithRequest:.
See Also
Declared In
WACloudStorageClient.h
fetchBlobs:withCompletionHandler:
Fetch the blobs for the specified blob container asynchronously with a block.
- (void)fetchBlobs:(WABlobContainer *)container withCompletionHandler:(void ( ^ ) ( NSArray *blobs , NSError *error ))block
Parameters
- container
The container for the blobs to fetch.
- block
A block object called with the results of the delete.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an array of WABlob objects or an error if the request failed. There could be a limit to the number of blobs that are returned. If you have many blobs, you may want to use the continuation version of fetching the blobs.
Deprecated: now use fetchBlobsWithRequest:usingCompletionHandler:.
See Also
Declared In
WACloudStorageClient.h
fetchBlobsWithContinuation:resultContinuation:maxResult:
Fetch the blobs for the specified blob container asynchronously using continuation.
- (void)fetchBlobsWithContinuation:(WABlobContainer *)container resultContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult
Parameters
- container
The container for the blobs to fetch.
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of blobs to reuturn for this fetch.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobs:inContainer:withResultContinuation:]. The continuation token contains the next marker to use or nil if this is the first request.
Deprecated: now use fetchBlobsWithRequest:.
See Also
Declared In
WACloudStorageClient.h
fetchBlobsWithContinuation:resultContinuation:maxResult:usingCompletionHandler:
Fetch the blobs for the specified blob container asynchronously using continuation with a block.
- (void)fetchBlobsWithContinuation:(WABlobContainer *)container resultContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult usingCompletionHandler:(void ( ^ ) ( NSArray *blobs , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- container
The container for the blobs to fetch.
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of blobs to reuturn for this fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will return an arry of WABlob objects if the request succeeds or an error if it fails. The result continuation can be used to make requests for the next set of blobs in the contianer.
Deprecated: now use fetchBlobsWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchBlobsWithRequest:
Fetch the blobs for the specified blob container asynchronously using continuation.
- (void)fetchBlobsWithRequest:(WABlobFetchRequest *)fetchRequest
Parameters
- fetchRequest
A fetch request that specifies the search criteria for the fetch.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchBlobs:inContainer:withResultContinuation:]. The continuation token contains the next marker to use or nil if this is the first request.
See Also
Declared In
WACloudStorageClient.h
fetchBlobsWithRequest:usingCompletionHandler:
Fetch the blobs for the specified blob container asynchronously using continuation with a block.
- (void)fetchBlobsWithRequest:(WABlobFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *blobs , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- fetchRequest
A fetch request that specifies the search criteria for the fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will return an arry of WABlob objects if the request succeeds or an error if it fails. The result continuation can be used to make requests for the next set of blobs in the contianer.
See Also
Declared In
WACloudStorageClient.h
fetchEntities:
Fetches the entities for a given table asynchronously.
- (void)fetchEntities:(WATableFetchRequest *)fetchRequest
Parameters
- fetchRequest
The request to use to fetch the entities.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchEntities:fromTableNamed:].
Deprecated: now use fetchEntitiesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchEntities:withCompletionHandler:
Fetches the entities for a given table asynchronously using a block.
- (void)fetchEntities:(WATableFetchRequest *)fetchRequest withCompletionHandler:(void ( ^ ) ( NSArray *entities , NSError *error ))block
Parameters
- fetchRequest
The request to use to fetch the entities.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an arrary of WATableEntity objects that are the table names or an error if the request fails, otherwise the error object will be nil.
Deprecated: now use fetchEntitiesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchEntitiesWithContinuation:
Fetches the entities for a given table asynchronously using a result continuation.
- (void)fetchEntitiesWithContinuation:(WATableFetchRequest *)fetchRequest
Parameters
- fetchRequest
The request to use to fetch the entities.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchEntities:fromTableNamed:withResultContinuation:]. The fetch request contains the result continuation to use for this fetch request.
Deprecated: now use fetchEntitiesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchEntitiesWithContinuation:usingCompletionHandler:
Fetches the entities for a given table asynchronously using a result continuation and block.
- (void)fetchEntitiesWithContinuation:(WATableFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *entities , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- fetchRequest
The request to use to fetch the entities.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an arrary of WATableEntity objects that are the table names or an error if the request fails, otherwise the error object will be nil. The result continuation can be used to make requests for the next set of blobs in the contianer.
Deprecated: now use WACloudStorageClient#fetchEntitiesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchEntitiesWithRequest:
Fetches the entities for a given table asynchronously using a result continuation.
- (void)fetchEntitiesWithRequest:(WATableFetchRequest *)fetchRequest
Parameters
- fetchRequest
The request to use to fetch the entities.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchEntities:fromTableNamed:withResultContinuation:]. The fetch request contains the result continuation to use for this fetch request.
See Also
Declared In
WACloudStorageClient.h
fetchEntitiesWithRequest:usingCompletionHandler:
Fetches the entities for a given table asynchronously using a result continuation and block.
- (void)fetchEntitiesWithRequest:(WATableFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *entities , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- fetchRequest
The request to use to fetch the entities.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an arrary of WATableEntity objects that are the table names or an error if the request fails, otherwise the error object will be nil. The result continuation can be used to make requests for the next set of blobs in the contianer.
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessage:
Fetch a single message asynchronously from the specified queue.
- (void)fetchQueueMessage:(NSString *)queueName
Parameters
- queueName
The name of the queue.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueueMessage:].
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessage:withCompletionHandler:
Fetch a single message asynchronously from the specified queue using a block.
- (void)fetchQueueMessage:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( WAQueueMessage *message , NSError *error ))block
Parameters
- queueName
The name of the queue.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with a WAQueueMessage object or an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessages:
Fetch messages asynchronously for a given queue name.
- (void)fetchQueueMessages:(NSString *)queueName
Parameters
- queueName
The name of the queue to get messages.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueueMessages:].
Deprecated: now use fetchQueuesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessages:fetchCount:
Fetch a batch of messages asynchronously from the specified queue.
- (void)fetchQueueMessages:(NSString *)queueName fetchCount:(NSInteger)fetchCount
Parameters
- queueName
The name of the queue.
- fetchCount
The number of messages to fetch.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueueMessages:]. The max number of messages that will be returned is 32.
Deprecated: now use fetchQueueMessagesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessages:fetchCount:withCompletionHandler:
Fetch a batch of messages asynchronously from the specified queue using a block.
- (void)fetchQueueMessages:(NSString *)queueName fetchCount:(NSInteger)fetchCount withCompletionHandler:(void ( ^ ) ( NSArray *messages , NSError *error ))block
Parameters
- queueName
The name of the queue.
- fetchCount
The number of messages to fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an array of WAQueueMessage object or an error if the request fails, otherwise the error object will be nil.
Deprecated: now use fetchQueuesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessages:withCompletionHandler:
Fetch messages asynchronously for a given queue name using a block.
- (void)fetchQueueMessages:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( NSArray *messages , NSError *error ))block
Parameters
- queueName
The name of the queue to get messages.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with a list of WAQueueMessage objects or an error if the request fails, otherwise the error object will be nil.
Deprecated: now use fetchQueuesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchQueueMessagesWithRequest:
Fetch a batch of messages asynchronously from the specified queue.
- (void)fetchQueueMessagesWithRequest:(WAQueueMessageFetchRequest *)fetchRequest
Parameters
- fetchRequest
The fetch request to fetch the messages.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueueMessages:]. The max number of messages that will be returned is 32.
Declared In
WACloudStorageClient.h
fetchQueueMessagesWithRequest:usingCompletionHandler:
Fetch a batch of messages asynchronously from the specified queue using a block.
- (void)fetchQueueMessagesWithRequest:(WAQueueMessageFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *messages , NSError *error ))block
Parameters
- fetchRequest
The fetch request to fetch the messages.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an array of WAQueueMessage object or an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
fetchQueues
Fetch a list of queues asynchronously.
- (void)fetchQueues
Discussion
The method will run asynchronously and will call back through the delegate for the client.
Deprecated: now use fetchQueuesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchQueuesWithCompletionHandler:
Fetch a list of queues asynchronously using a block.
- (void)fetchQueuesWithCompletionHandler:(void ( ^ ) ( NSArray *queues , NSError *error ))block
Parameters
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with a list of WAQueue objects or an error if the request fails, otherwise the error object will be nil.
Deprecated: now use fetchQueuesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchQueuesWithContinuation:maxResult:
Fetch a list of queues asynchronously with a result continuation.
- (void)fetchQueuesWithContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult
Parameters
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of queues to reuturn for this fetch.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueues:withResultContinuation:]. The result continuation can be nil or conatin the marker to fetch the next set of queues from a previous request.
Deprecated: now use fetchQueuesWithRequest:
See Also
Declared In
WACloudStorageClient.h
fetchQueuesWithContinuation:maxResult:usingCompletionHandler:
Fetch a list of queues asynchronously with a result continuation using a block.
- (void)fetchQueuesWithContinuation:(WAResultContinuation *)resultContinuation maxResult:(NSInteger)maxResult usingCompletionHandler:(void ( ^ ) ( NSArray *queues , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- resultContinuation
The result continuation to use for this fetch request.
- maxResult
The max number of queues to reuturn for this fetch.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will return an arry of WAQueue objects if the request succeeds or an error if it fails. The result continuation can be used to make requests for the next set of blobs in the contianer.
Deprecated: now use fetchQueuesWithRequest:usingCompletionHandler:
See Also
Declared In
WACloudStorageClient.h
fetchQueuesWithRequest:
Fetch a list of queues asynchronously.
- (void)fetchQueuesWithRequest:(WAQueueFetchRequest *)fetchRequest
Parameters
- fetchRequest
The fetch request for the queues.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchQueues:].
See Also
Declared In
WACloudStorageClient.h
fetchQueuesWithRequest:usingCompletionHandler:
Fetch a list of queues asynchronously using a block.
- (void)fetchQueuesWithRequest:(WAQueueFetchRequest *)fetchRequest usingCompletionHandler:(void ( ^ ) ( NSArray *queues , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- fetchRequest
The fetch request for the queues.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with a list of WAQueue objects or an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
fetchTables
Fetch a list of tables asynchronously.
- (void)fetchTables
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchTables:].
See Also
Declared In
WACloudStorageClient.h
fetchTablesWithCompletionHandler:
Fetch a list of tables asynchronously using a block.
- (void)fetchTablesWithCompletionHandler:(void ( ^ ) ( NSArray *tables , NSError *error ))block
Parameters
- block
A block object called with the results of the fetch.
@discussion The method will run asynchronously and will call back through the block. The block will be called with an arrary of NSString objects that are the table names or an error if the request fails, otherwise the error object will be nil.
Declared In
WACloudStorageClient.h
fetchTablesWithContinuation:
Fetch a list of tables asynchronously.
- (void)fetchTablesWithContinuation:(WAResultContinuation *)resultContinuation
Parameters
- resultContinuation
The result continuation to use for this fetch request.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didFetchTables:withResultContinuation:].
See Also
Declared In
WACloudStorageClient.h
fetchTablesWithContinuation:usingCompletionHandler:
Fetch a list of tables asynchronously.
- (void)fetchTablesWithContinuation:(WAResultContinuation *)resultContinuation usingCompletionHandler:(void ( ^ ) ( NSArray *tables , WAResultContinuation *resultContinuation , NSError *error ))block
Parameters
- resultContinuation
The result continuation to use for this fetch request.
- block
A block object called with the results of the fetch.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an arrary of NSString objects that are the table names or an error if the request fails, otherwise the error object will be nil. The result continuation can be used to make requests for the next set of blobs in the contianer.
See Also
Declared In
WACloudStorageClient.h
insertEntity:
Inserts a new entity into an existing table asynchronously.
- (BOOL)insertEntity:(WATableEntity *)newEntity
Parameters
- newEntity
The new entity to insert.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didInsertEntity:].
See Also
Declared In
WACloudStorageClient.h
insertEntity:withCompletionHandler:
Inserts a new entity into an existing table asynchronously using a block.
- (BOOL)insertEntity:(WATableEntity *)newEntity withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- newEntity
The new entity to insert.
- block
A block object called with the results of the insert.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
mergeEntity:
Merges an existing entity within a table asynchronously.
- (BOOL)mergeEntity:(WATableEntity *)existingEntity
Parameters
- existingEntity
The entity to merge.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didMergeEntity:].
See Also
Declared In
WACloudStorageClient.h
mergeEntity:withCompletionHandler:
Merges an existing entity within a table asynchronously using a block.
- (BOOL)mergeEntity:(WATableEntity *)existingEntity withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- existingEntity
The entity to merge.
- block
A block object called with the results of the merge.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h
peekQueueMessage:
Peeks a single message from the specified queue asynchronously.
- (void)peekQueueMessage:(NSString *)queueName
Parameters
- queueName
The name of the queue.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didPeekQueueMessage:]. Peek is like fetch, but the message is not marked for removal.
See Also
Declared In
WACloudStorageClient.h
peekQueueMessage:withCompletionHandler:
Peeks a single message from the specified queue asynchronously using a block.
- (void)peekQueueMessage:(NSString *)queueName withCompletionHandler:(void ( ^ ) ( WAQueueMessage *message , NSError *error ))block
Parameters
- queueName
The name of the queue.
- block
A block object called with the results of the peek.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with a WAQueueMessage object or an error if the request fails, otherwise the error object will be nil. Peek is like fetch, but the message is not marked for removal.
See Also
Declared In
WACloudStorageClient.h
peekQueueMessages:fetchCount:
Peeks a batch of messages from the specified queue asynchronously.
- (void)peekQueueMessages:(NSString *)queueName fetchCount:(NSInteger)fetchCount
Parameters
- queueName
The name of the queue.
- fetchCount
The number of messages to return.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didPeekQueueMessages:]. Peek is like fetch, but the message is not marked for removal.
See Also
Declared In
WACloudStorageClient.h
peekQueueMessages:fetchCount:withCompletionHandler:
Peeks a batch of messages from the specified queue asynchronously using a block.
- (void)peekQueueMessages:(NSString *)queueName fetchCount:(NSInteger)fetchCount withCompletionHandler:(void ( ^ ) ( NSArray *messages , NSError *error ))block
Parameters
- queueName
The name of the queue.
- fetchCount
The number of messages to return.
- block
A block object called with the results of the peek.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an array of WAQueueMessage object or an error if the request fails, otherwise the error object will be nil. Peek is like fetch, but the message is not marked for removal.
See Also
Declared In
WACloudStorageClient.h
updateEntity:
Updates an existing entity within a table asynchronously.
- (BOOL)updateEntity:(WATableEntity *)existingEntity
Parameters
- existingEntity
The entity to update.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the delegate for the client using [WACloudStorageClientDelegate storageClient:didUpdateEntity:].
See Also
Declared In
WACloudStorageClient.h
updateEntity:withCompletionHandler:
Updates an existing entity within a table asynchronously using a block.
- (BOOL)updateEntity:(WATableEntity *)existingEntity withCompletionHandler:(void ( ^ ) ( NSError *error ))block
Parameters
- existingEntity
The entity to update.
- block
A block object called with the results of the insert.
Return Value
Returns if the request was sent successfully.
Discussion
The method will run asynchronously and will call back through the block. The block will be called with an error if the request fails, otherwise the error object will be nil.
See Also
Declared In
WACloudStorageClient.h