The Stomp client interacts with a Stomp server.
category | Zend |
---|---|
package | Zend_Queue |
subpackage | Stomp |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
canRead()
close(boolean $destructor = false
) : void
boolean
createFrame() : \Zend_Queue_Stomp_FrameInterface
\Zend_Queue_Stomp_FrameInterface
classgetFrameClass() : string
string
open(string $scheme, $host, $port) : boolean
string
['tcp', 'udp']
boolean
ping() : true
\Zend_Queue_Exception |
---|
true
read() : \Zend_Queue_Stomp_Frame | false
\Zend_Queue_Exception |
---|
\Zend_Queue_Stomp_Frame
false
setFrameClass(string $class) : \Zend_Queue_Stomp_Client_ConnectionInterface;
This must be a Zend_Queue_Stomp_FrameInterface.
string
\Zend_Queue_Stomp_Client_ConnectionInterface;
write(\Zend_Queue_Stomp_FrameInterface $frame) : \Zend_Queue_Stomp_Client_ConnectionInterface
example: $response = $client->write($frame)->read();
fluent | This method is part of a fluent interface and will return the same instance |
---|
\Zend_Queue_Stomp_FrameInterface
\Zend_Queue_Stomp_Client_ConnectionInterface