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.
The Stomp client interacts with a Stomp server.
array $_connection = ''Array of $client Zend_Queue_Stomp_Client_Interface
Details__construct(
string $scheme
=
null, string $host
=
null, integer $port
=
null, $connectionClass
=
Zend_Queue_Stomp_Client_Connection, $frameClass
=
Zend_Queue_Stomp_Frame
)
:
Add a server to connections
Details__destruct(
)
:
voidShutdown
DetailsaddConnection(
string $scheme, string $host, integer $port, string $class
=
Zend_Queue_Stomp_Client_Connection
)
:
booleanAdd a connection to this client.
Attempts to add this class to the client. Returns a boolean value indicating success of operation.
You cannot add more than 1 connection to the client at this time.
DetailscanRead(
)
:
booleancanRead()
DetailscreateFrame(
)
:
Zend_Queue_Stomp_FrameInterfacecreates a frame class
DetailsgetConnection(
)
:
Zend_Queue_Stomp_Client_ConnectionInterface|nullGet client connection
Detailsreceive(
)
:
Zend_Queue_Stomp_FrameInterface|booleanReceive a frame
Returns a frame or false if none were to be read.
Detailssend(
Zend_Queue_Stomp_FrameInterface $frame
)
:
booleanSend a stomp frame
Returns true if the frame was successfully sent.
DetailssetConnection(
Zend_Queue_Stomp_Client_ConnectionInterface $connection
)
:
voidSet client connection
Details