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.
Handle the incoming AMF request by deserializing the data to php object types and storing the data for Zend_Amf_Server to handle for processing.
array $_bodies = 'array'
int $_clientType = '0'
Zend_Amf_Parse_AMF0_Deserializer $_deserializer = ''
array $_headers = 'array'
Zend_Amf_Parse_InputStream $_inputStream = ''
int $_objectEncoding = '0'
mixed $_time = ''
Time of the request
addAmfBody(
Zend_Amf_Value_MessageBody $message
)
:
Zend_Amf_Request
Accessor to private array of message bodies.
getAmfBodies(
)
:
array
Return an array of the body objects that were found in the amf request.
getAmfHeaders(
)
:
array
Return an array of headers that were found in the amf request.
getObjectEncoding(
)
:
int
Return the either 0 or 3 for respect AMF version
initialize(
string $request
)
:
Zend_Amf_Request
Prepare the AMF InputStream for parsing.
readBody(
)
:
Zend_Amf_Value_MessageBody
Deserialize a message body from the input stream
readHeader(
)
:
Zend_Amf_Value_MessageHeader
Deserialize a message header from the input stream.
A message header is structured as: - NAME String - MUST UNDERSTAND Boolean - LENGTH Int - DATA Object
readMessage(
$stream
)
:
Zend_Amf_Request
Takes the raw AMF input stream and converts it into valid PHP objects
setObjectEncoding(
mixed $int
)
:
Zend_Amf_Request
Set the object response encoding