diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Queue/Stomp/Client/ConnectionInterface.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Queue/Stomp/Client/ConnectionInterface.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,103 @@ +write($frame)->read(); + * + * @param Zend_Queue_Stomp_FrameInterface $frame + * @return $this + */ + public function write(Zend_Queue_Stomp_FrameInterface $frame); + + /** + * tests the socket to see if there is data for us + */ + public function canRead(); + + /** + * reads in a frame from the socket or returns false. + * + * @return Zend_Queue_Stomp_Frame|false + * @throws Zend_Queue_Exception + */ + public function read(); + + /** + * Set the frame class to be used + * + * This must be a Zend_Queue_Stomp_FrameInterface. + * + * @param string $class + * @return Zend_Queue_Stomp_Client_ConnectionInterface; + */ + public function setFrameClass($class); + + /** + * Get the frameClass + * + * @return string + */ + public function getFrameClass(); + + /** + * create an empty frame + * + * @return Zend_Queue_Stomp_FrameInterface class + */ + public function createFrame(); +}