Zend Framework
1.12
|
Public Member Functions | |
open ($scheme, $host, $port) | |
close ($destructor=false) | |
ping () | |
Check whether we are connected to the server. | |
write (Zend_Queue_Stomp_FrameInterface $frame) | |
write a frame to the stomp server | |
canRead () | |
tests the socket to see if there is data for us | |
read () | |
reads in a frame from the socket or returns false. | |
setFrameClass ($class) | |
Set the frame class to be used. | |
getFrameClass () | |
Get the frameClass. | |
createFrame () | |
create an empty frame | |
canRead | ( | ) |
tests the socket to see if there is data for us
Implemented in Zend_Queue_Stomp_Client_Connection.
close | ( | $destructor = false | ) |
createFrame | ( | ) |
create an empty frame
Implemented in Zend_Queue_Stomp_Client_Connection.
getFrameClass | ( | ) |
open | ( | $scheme, | |
$host, | |||
$port | |||
) |
string | $scheme | ['tcp', 'udp'] |
string | host | |
integer | port | |
string | class - create a connection with this class; class must support Zend_Queue_Stomp_Client_Connection_Interface |
ping | ( | ) |
Check whether we are connected to the server.
Zend_Queue_Exception |
Implemented in Zend_Queue_Stomp_Client_Connection.
read | ( | ) |
reads in a frame from the socket or returns false.
Zend_Queue_Exception |
Implemented in Zend_Queue_Stomp_Client_Connection.
setFrameClass | ( | $class | ) |
Set the frame class to be used.
This must be a Zend_Queue_Stomp_FrameInterface.
string | $class |
Implemented in Zend_Queue_Stomp_Client_Connection.
write | ( | Zend_Queue_Stomp_FrameInterface | $frame | ) |
write a frame to the stomp server
example: $response = $client->write($frame)->read();
Zend_Queue_Stomp_FrameInterface | $frame |
Implemented in Zend_Queue_Stomp_Client_Connection.