Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
MAX_MESSAGE_SIZE = '8388608'
Maximal message size (in bytes)
MAX_MESSAGE_TTL = '604800'
Maximal message ttl (in seconds)
__construct(
string $host
=
Zend_Service_WindowsAzure_Storage, string $accountName
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, string $accountKey
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, boolean $usePathStyleUri
=
false, Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy
=
null
)
:
Creates a new Zend_Service_WindowsAzure_Storage_Queue instance
_getErrorMessage(
Zend_Http_Response $response, string $alternativeError
=
Unknown error.
)
:
string
Get error message from Zend_Http_Response
clearMessages(
string $queueName
)
:
Clear queue messages
createQueue(
string $queueName, array $metadata
=
array
)
:
object
Create queue
deleteMessage(
string $queueName, Zend_Service_WindowsAzure_Storage_QueueMessage $message
)
:
Delete queue message
deleteQueue(
string $queueName
)
:
Delete queue
getMessages(
string $queueName, string $numOfMessages
=
1, int $visibilityTimeout
=
null, string $peek
=
false
)
:
array
Get queue messages
getQueue(
string $queueName
)
:
Zend_Service_WindowsAzure_Storage_QueueInstance
Get queue
getQueueMetadata(
string $queueName
)
:
array
Get queue metadata
isValidQueueName(
string $queueName
)
:
boolean
Is valid queue name?
listQueues(
string $prefix
=
null, int $maxResults
=
null, string $marker
=
null, string $include
=
null, int $currentResultCount
=
0
)
:
array
List queues
peekMessages(
string $queueName, string $numOfMessages
=
1
)
:
array
Peek queue messages
putMessage(
string $queueName, string $message, int $ttl
=
null
)
:
Put message into queue
queueExists(
string $queueName
)
:
boolean
Check if a queue exists
setQueueMetadata(
string $queueName, array $metadata
=
array
)
:
Set queue metadata
Calling the Set Queue Metadata operation overwrites all existing metadata that is associated with the queue. It's not possible to modify an individual name/value pair.