IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ContainerList Event

Fires once for each container returned when listing containers.

Syntax

ANSI (Cross Platform)
virtual int FireContainerList(AzureBlobContainerListEventParams *e);
typedef struct {
const char *Name;
const char *ModifiedTime;
const char *ETag;
int IsLeased;
int LeaseState; int reserved; } AzureBlobContainerListEventParams; Unicode (Windows) virtual INT FireContainerList(AzureBlobContainerListEventParams *e);
typedef struct {
LPCWSTR Name;
LPCWSTR ModifiedTime;
LPCWSTR ETag;
BOOL IsLeased;
INT LeaseState; INT reserved; } AzureBlobContainerListEventParams;
- (void)onContainerList:(NSString*)name :(NSString*)modifiedTime :(NSString*)ETag :(BOOL)isLeased :(int)leaseState;
#define EID_AZUREBLOB_CONTAINERLIST 3

virtual INT IPWORKSCLOUD_CALL FireContainerList(LPSTR &lpszName, LPSTR &lpszModifiedTime, LPSTR &lpszETag, BOOL &bIsLeased, INT &iLeaseState);

Remarks

This event fires once for each container returned when ListContainers or GetContainerInfo is called.

Name is the name of the container.

ModifiedTime reflects the last modified time of the container, formatted according to RFC 1123.

ETag is the container's ETag.

IsLeased indicates whether the container is currently leased.

LeaseState reflects the lease state of the container. Possible values are:

aclsAvailable (0) The container's lease is unlocked and can be acquired.
aclsLeased (1) The container's lease is locked.
aclsExpired (2) The lease duration has expired.
aclsBreaking (3) The lease has been broken, but will continue to be locked until the break period expires.
aclsBroken (4) The lease has been broken, and the break period has expired.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]