Zend Framework
1.12
|
Public Member Functions | |
registerPlugin (Zend_Wildfire_Plugin_Interface $plugin) | |
Register a plugin that uses this protocol. | |
recordMessage (Zend_Wildfire_Plugin_Interface $plugin, $structure, $data) | |
Record a message with the given data in the given structure. | |
clearMessages (Zend_Wildfire_Plugin_Interface $plugin) | |
Remove all qued messages. | |
getMessages () | |
Get all qued messages. | |
getPayload (Zend_Wildfire_Channel_Interface $channel) | |
Retrieves all formatted data ready to be sent by the channel. | |
Public Attributes | |
const | PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2' |
The protocol URI for this protocol. | |
Protected Member Functions | |
_encode ($value) | |
Use the JSON encoding scheme for the value specified. | |
Protected Attributes | |
$_messages = array() | |
$_plugins = array() | |
|
protected |
Use the JSON encoding scheme for the value specified.
mixed | $value | The value to be encoded |
clearMessages | ( | Zend_Wildfire_Plugin_Interface | $plugin | ) |
Remove all qued messages.
Zend_Wildfire_Plugin_Interface | $plugin | The plugin for which to clear messages |
getMessages | ( | ) |
Get all qued messages.
getPayload | ( | Zend_Wildfire_Channel_Interface | $channel | ) |
Retrieves all formatted data ready to be sent by the channel.
Zend_Wildfire_Channel_Interface | $channel | The instance of the channel that will be transmitting the data |
Zend_Wildfire_Exception |
recordMessage | ( | Zend_Wildfire_Plugin_Interface | $plugin, |
$structure, | |||
$data | |||
) |
Record a message with the given data in the given structure.
Zend_Wildfire_Plugin_Interface | $plugin | The plugin recording the message |
string | $structure | The structure to be used for the data |
array | $data | The data to be recorded |
registerPlugin | ( | Zend_Wildfire_Plugin_Interface | $plugin | ) |
Register a plugin that uses this protocol.
Zend_Wildfire_Plugin_Interface | $plugin | The plugin to be registered |
|
protected |
|
protected |
const PROTOCOL_URI = 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2' |
The protocol URI for this protocol.