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.
Class for using Stomp to talk to an Stomp compliant server
DEFAULT_SCHEME = 'tcp'
Details DEFAULT_HOST = '127.0.0.1'
Details DEFAULT_PORT = '61613'
DetailsZend_Queue_Adapter_Stomp_client $_client = 'null'
Details__construct(
$options, Zend_Queue $queue
=
null
)
:
voidConstructor
Details__destruct(
)
:
voidClose the socket explicitly when destructed
Detailscount(
Zend_Queue $queue
=
null
)
:
integerReturns the length of the queue
Detailscreate(
string $name, integer $timeout
=
null
)
:
voidCreate a new queue
Detailsdelete(
string $name
)
:
voidDelete a queue and all of its messages
DetailsdeleteMessage(
Zend_Queue_Message $message
)
:
booleanDelete a message from the queue
Returns true if the message is deleted, false if the deletion is unsuccessful.
DetailsgetCapabilities(
)
:
arrayReturn a list of queue capabilities functions
$array['function name'] = true or false true is supported, false is not supported.
DetailsgetQueues(
)
:
voidGet an array of all available queues
DetailsisExists(
string $name
)
:
booleanDoes a queue already exist?
Detailsreceive(
integer $maxMessages
=
null, integer $timeout
=
null, Zend_Queue $queue
=
null
)
:
Zend_Queue_Message_IteratorReturn the first element in the queue
Detailssend(
string $message, Zend_Queue $queue
=
null
)
:
Zend_Queue_MessagePush an element onto the end of the queue
Details