WACloudStorageClientDelegate Protocol Reference
Conforms to | NSObject |
Declared in | WACloudStorageClientDelegate.h |
Overview
The WACloudStorageClientDelegate protocol defines methods that a delegate of WACloudStorageClient object can optionally implement when a request is made.
Tasks
Request Completion
-
– storageClient:didFailRequest:withError:
Sent if a URL request failed.
Blob Request Completion
-
– storageClient:didFetchBlobContainers:
Sent when the client successfully returns a list of blob containers.
-
– storageClient:didFetchBlobContainers:withResultContinuation:
Sent when the client successfully returns a list of blob containers and the result continuation that you can use when making future requests to get the next set of containers.
-
– storageClient:didFetchBlobContainer:
Sent when the client successfully returns a blob container.
-
– storageClient:didAddBlobContainerNamed:
Sent when the client successsfully adds a new blob container.
-
– storageClient:didAddBlobContainer:
Sent when the client successsfully adds a new blob container.
-
– storageClient:didDeleteBlobContainer:
Sent when the client successfully removes an existing blob container.
-
– storageClient:didDeleteBlobContainerNamed:
Sent when the client successfully removes an existing blob container.
-
– storageClient:didFetchBlobs:inContainer:
Sent when the client successfully returns blobs from an existing container.
-
– storageClient:didFetchBlobs:inContainer:withResultContinuation:
Sent when the client successfully returns blobs from an existing container.
-
– storageClient:didFetchBlobData:blob:
Sent when the client successfully returns blob data for a given blob.
-
– storageClient:didFetchBlobData:URL:
Sent when the client successfully returns blob data for a given URL.
-
– storageClient:didAddBlobToContainer:blobName:
Sent when the client successfully adds a blob to a specified container.
-
– storageClient:didAddBlob:toContainer:
Sent when the client successfully adds a blob to a specified container.
-
– storageClient:didDeleteBlob:
Sent when the client successfully deletes a blob.
Queue Request Completion
-
– storageClient:didFetchQueues:
Sent when the client successfully returns a list of queues.
-
– storageClient:didFetchQueues:withResultContinuation:
Sent when the client successfully returns a list of queues with a result continuation.
-
– storageClient:didAddQueueNamed:
Sent when the client successfully adds a queue.
-
– storageClient:didDeleteQueueNamed:
Sent when the client successfully removes an existing queue.
-
– storageClient:didFetchQueueMessages:
Sent when the client successfully get messages from the specified queue.
-
– storageClient:didFetchQueueMessage:
Sent when the client successfully got a single message from the specified queue
-
– storageClient:didPeekQueueMessage:
Sent when the client successfully peeked a single message from the specified queue.
-
– storageClient:didPeekQueueMessages:
Sent when the client successfully peeked messages from the specified queue.
-
– storageClient:didDeleteQueueMessage:queueName:
Sent when the client successfully delete a message from the specified queue
-
– storageClient:didAddMessageToQueue:queueName:
Sent when the client successfully put a message into the specified queue.
Table Request Completion
-
– storageClient:didFetchTables:
Sent when the client successfully returns a list of tables.
-
– storageClient:didFetchTables:withResultContinuation:
Sent when the client successfully returns a list of tables with a continuation.
-
– storageClient:didCreateTableNamed:
Sent when the client successfully creates a table.
-
– storageClient:didDeleteTableNamed:
Sent when the client successfully deletes a specified table.
-
– storageClient:didFetchEntities:fromTableNamed:
Sent when the client successfully returns a list of entities from a table.
-
– storageClient:didFetchEntities:fromTableNamed:withResultContinuation:
Sent when the client successfully returns a list of entities from a table.
-
– storageClient:didInsertEntity:
Sent when the client successfully inserts an entity into a table.
-
– storageClient:didUpdateEntity:
Sent when the client successfully updates an entity within a table.
-
– storageClient:didMergeEntity:
Sent when the client successfully merges an entity within a table.
-
– storageClient:didDeleteEntity:
Sent when the client successfully deletes an entity from a table.
Instance Methods
storageClient:didAddBlob:toContainer:
Sent when the client successfully adds a blob to a specified container.
- (void)storageClient:(WACloudStorageClient *)client didAddBlob:(WABlob *)blob toContainer:(WABlobContainer *)container
Parameters
- client
The client that sent the request.
- blob
The blob added.
- container
The container the blob was added.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didAddBlobContainer:
Sent when the client successsfully adds a new blob container.
- (void)storageClient:(WACloudStorageClient *)client didAddBlobContainer:(WABlobContainer *)container
Parameters
- client
The client that sent the request.
- container
The container that was added.
Declared In
WACloudStorageClientDelegate.h
storageClient:didAddBlobContainerNamed:
Sent when the client successsfully adds a new blob container.
- (void)storageClient:(WACloudStorageClient *)client didAddBlobContainerNamed:(NSString *)name
Parameters
- client
The client that sent the request.
- name
The name that was added.
Declared In
WACloudStorageClientDelegate.h
storageClient:didAddBlobToContainer:blobName:
Sent when the client successfully adds a blob to a specified container.
- (void)storageClient:(WACloudStorageClient *)client didAddBlobToContainer:(WABlobContainer *)container blobName:(NSString *)blobName
Parameters
- client
The client that sent the request.
- container
The container to add the blob.
- blobName
The name of the blob
Discussion
Deprecated: now use WACloudStorageClientDelegate#storageClient:didAddBlob:toContainer:
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didAddMessageToQueue:queueName:
Sent when the client successfully put a message into the specified queue.
- (void)storageClient:(WACloudStorageClient *)client didAddMessageToQueue:(NSString *)message queueName:(NSString *)queueName
Parameters
- client
The client that sent the request.
- message
The message that was added.
- queueName
The name of the queue that the message was added.
Declared In
WACloudStorageClientDelegate.h
storageClient:didAddQueueNamed:
Sent when the client successfully adds a queue.
- (void)storageClient:(WACloudStorageClient *)client didAddQueueNamed:(NSString *)queueName
Parameters
- client
The client that sent the request
- queueName
The name of the queue that was added.
Declared In
WACloudStorageClientDelegate.h
storageClient:didCreateTableNamed:
Sent when the client successfully creates a table.
- (void)storageClient:(WACloudStorageClient *)client didCreateTableNamed:(NSString *)tableName
Parameters
- client
The client that sent the request.
- tableName
The table name that was created.
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteBlob:
Sent when the client successfully deletes a blob.
- (void)storageClient:(WACloudStorageClient *)client didDeleteBlob:(WABlob *)blob
Parameters
- client
The client that sent the request.
- blob
The blob that was deleted.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteBlobContainer:
Sent when the client successfully removes an existing blob container.
- (void)storageClient:(WACloudStorageClient *)client didDeleteBlobContainer:(WABlobContainer *)container
Parameters
- client
The client that sent the request.
- container
The container that was deleted.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteBlobContainerNamed:
Sent when the client successfully removes an existing blob container.
- (void)storageClient:(WACloudStorageClient *)client didDeleteBlobContainerNamed:(NSString *)name
Parameters
- client
The client that sent the request.
- name
The name of the container that was deleted.
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteEntity:
Sent when the client successfully deletes an entity from a table.
- (void)storageClient:(WACloudStorageClient *)client didDeleteEntity:(WATableEntity *)entity
Parameters
- client
The client that sent the request.
- entity
The entity that was deleted.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteQueueMessage:queueName:
Sent when the client successfully delete a message from the specified queue
- (void)storageClient:(WACloudStorageClient *)client didDeleteQueueMessage:(WAQueueMessage *)queueMessage queueName:(NSString *)queueName
Parameters
- client
The client that sent the request.
- queueMessage
The message that was deleted.
- queueName
The name of the queue where the message was deleted.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteQueueNamed:
Sent when the client successfully removes an existing queue.
- (void)storageClient:(WACloudStorageClient *)client didDeleteQueueNamed:(NSString *)queueName
Parameters
- client
The client that sent the request.
- queueName
The name of the queue that was deleted.
Declared In
WACloudStorageClientDelegate.h
storageClient:didDeleteTableNamed:
Sent when the client successfully deletes a specified table.
- (void)storageClient:(WACloudStorageClient *)client didDeleteTableNamed:(NSString *)tableName
Parameters
- client
The client that sent the request.
- tableName
The table name that was deleted.
Declared In
WACloudStorageClientDelegate.h
storageClient:didFailRequest:withError:
Sent if a URL request failed.
- (void)storageClient:(WACloudStorageClient *)client didFailRequest:(NSURLRequest *)request withError:(NSError *)error
Parameters
- client
The client that sent the request.
- request
The request that failed.
- error
The error that occurred.
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobContainer:
Sent when the client successfully returns a blob container.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobContainer:(WABlobContainer *)container
Parameters
- client
The client that sent the request.
- container
The container the client requested.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobContainers:
Sent when the client successfully returns a list of blob containers.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobContainers:(NSArray *)containers
Parameters
- client
The client that sent the request.
- containers
The array of WABlobContainer objects returned from the request.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobContainers:withResultContinuation:
Sent when the client successfully returns a list of blob containers and the result continuation that you can use when making future requests to get the next set of containers.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobContainers:(NSArray *)containers withResultContinuation:(WAResultContinuation *)resultContinuation
Parameters
- client
The client that sent the request.
- containers
The array of WABlobContainer objects returned from the request.
- resultContinuation
The result continuation that contains the marker to use for the next request.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobData:URL:
Sent when the client successfully returns blob data for a given URL.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobData:(NSData *)data URL:(NSURL *)URL
Parameters
- client
The client that sent the request.
- data
The data for the blob.
- URL
The URL for the the data.
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobData:blob:
Sent when the client successfully returns blob data for a given blob.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobData:(NSData *)data blob:(WABlob *)blob
Parameters
- client
The client that sent the request.
- data
The data for the blob.
- blob
The blob for the the data.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobs:inContainer:
Sent when the client successfully returns blobs from an existing container.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobs:(NSArray *)blobs inContainer:(WABlobContainer *)container
Parameters
- client
The client that sent the request.
- blobs
The array of WABlob objects returned from the request.
- container
The WABlobContainer object for the blobs.
@deprecated Now use WACloudStorageClientDelegate#storageClient:didFetchBlobs:inContainer:withResultContinuation:
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchBlobs:inContainer:withResultContinuation:
Sent when the client successfully returns blobs from an existing container.
- (void)storageClient:(WACloudStorageClient *)client didFetchBlobs:(NSArray *)blobs inContainer:(WABlobContainer *)container withResultContinuation:(WAResultContinuation *)resultContinuation
Parameters
- client
The client that sent the request.
- blobs
The array of WABlob objects returned from the request.
- container
The WABlobContainer object for the blobs.
- resultContinuation
The result continuation that contains the marker to use for the next request.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchEntities:fromTableNamed:
Sent when the client successfully returns a list of entities from a table.
- (void)storageClient:(WACloudStorageClient *)client didFetchEntities:(NSArray *)entities fromTableNamed:(NSString *)tableName
Parameters
- client
The client that sent the request.
- entities
An array of WATableEntity objects.
- tableName
The name of the table that contains the enties.
@deprecated Now use WACloudStorageClientDelegate#storageClient:didFetchEntities:fromTableNamed:withResultContinuation:
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchEntities:fromTableNamed:withResultContinuation:
Sent when the client successfully returns a list of entities from a table.
- (void)storageClient:(WACloudStorageClient *)client didFetchEntities:(NSArray *)entities fromTableNamed:(NSString *)tableName withResultContinuation:(WAResultContinuation *)resultContinuation
Parameters
- client
The client that sent the request.
- entities
An array of WATableEntity objects.
- tableName
The table name that contains the entities.
- resultContinuation
The result continuation that contains the marker to use for the next request.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchQueueMessage:
Sent when the client successfully got a single message from the specified queue
- (void)storageClient:(WACloudStorageClient *)client didFetchQueueMessage:(WAQueueMessage *)queueMessage
Parameters
- client
The client that sent the request.
- queueMessage
The message that was fetched.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchQueueMessages:
Sent when the client successfully get messages from the specified queue.
- (void)storageClient:(WACloudStorageClient *)client didFetchQueueMessages:(NSArray *)queueMessages
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchQueues:
Sent when the client successfully returns a list of queues.
- (void)storageClient:(WACloudStorageClient *)client didFetchQueues:(NSArray *)queues
Parameters
- client
The client that sent the request
- queues
An array of WAQueue objects.
@deprecated Now use WACloudStorageClientDelegate#storageClient:didFetchQueues:withResultContinuation:
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchQueues:withResultContinuation:
Sent when the client successfully returns a list of queues with a result continuation.
- (void)storageClient:(WACloudStorageClient *)client didFetchQueues:(NSArray *)queues withResultContinuation:(WAResultContinuation *)resultContinuation
Parameters
- client
The client that sent the request
- queues
An array of WAQueue objects.
- resultContinuation
The result continuation that contains the marker to use for the next request.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchTables:
Sent when the client successfully returns a list of tables.
- (void)storageClient:(WACloudStorageClient *)client didFetchTables:(NSArray *)tables
Parameters
- client
The client that sent the request.
- tables
An array of NSString objects that are the names of the tables.
Declared In
WACloudStorageClientDelegate.h
storageClient:didFetchTables:withResultContinuation:
Sent when the client successfully returns a list of tables with a continuation.
- (void)storageClient:(WACloudStorageClient *)client didFetchTables:(NSArray *)tables withResultContinuation:(WAResultContinuation *)resultContinuation
Parameters
- client
The client that sent the request.
- tables
An array of NSString objects that are the names of the tables.
- resultContinuation
The result continuation that contains the marker to use for the next request.
Declared In
WACloudStorageClientDelegate.h
storageClient:didInsertEntity:
Sent when the client successfully inserts an entity into a table.
- (void)storageClient:(WACloudStorageClient *)client didInsertEntity:(WATableEntity *)entity
Parameters
- client
The client that sent the request.
- entity
The entity that was inserted.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didMergeEntity:
Sent when the client successfully merges an entity within a table.
- (void)storageClient:(WACloudStorageClient *)client didMergeEntity:(WATableEntity *)entity
Parameters
- client
The client that sent the request.
- entity
The entity that was merged.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didPeekQueueMessage:
Sent when the client successfully peeked a single message from the specified queue.
- (void)storageClient:(WACloudStorageClient *)client didPeekQueueMessage:(WAQueueMessage *)queueMessage
Parameters
- client
The client that sent the request.
- queueMessage
The message that was fetched.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didPeekQueueMessages:
Sent when the client successfully peeked messages from the specified queue.
- (void)storageClient:(WACloudStorageClient *)client didPeekQueueMessages:(NSArray *)queueMessages
Parameters
- client
The client that sent the request.
- queueMessages
An array of WAQueueMessage objects.
See Also
Declared In
WACloudStorageClientDelegate.h
storageClient:didUpdateEntity:
Sent when the client successfully updates an entity within a table.
- (void)storageClient:(WACloudStorageClient *)client didUpdateEntity:(WATableEntity *)entity
Parameters
- client
The client that sent the request.
- entity
The entity that was updated.
See Also
Declared In
WACloudStorageClientDelegate.h