Class Zend_Amf_Request

Description

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.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • todo: Currently not checking if the object needs to be Type Mapped to a server object.
  • license: New BSD License

Located in /Amf/Request.php (line 46)


	
			
Direct descendents
Class Description
 class Zend_Amf_Request_Http AMF Request object -- Request via HTTP
Variable Summary
Method Summary
Variables
array $_bodies = array() (line 56)
  • var: Message bodies
  • access: protected
int $_clientType = 0 (line 51)
  • var: AMF client type (AMF0, AMF3)
  • access: protected
Zend_Amf_Parse_AMF0_Deserializer $_deserializer (line 76)
  • access: protected
array $_headers = array() (line 61)
  • var: Message headers
  • access: protected
Zend_Amf_Parse_InputStream $_inputStream (line 71)
  • access: protected
int $_objectEncoding = 0 (line 66)
  • var: Message encoding to use for objects in response
  • access: protected
mixed $_time (line 82)

Time of the request

  • access: protected
Methods
addAmfBody (line 214)

Accessor to private array of message bodies.

  • access: public
getAmfBodies (line 203)

Return an array of the body objects that were found in the amf request.

  • return: {target, response, length, content}
  • access: public
array getAmfBodies ()
getAmfHeaders (line 225)

Return an array of headers that were found in the amf request.

  • return: {operation, mustUnderstand, length, param}
  • access: public
array getAmfHeaders ()
getObjectEncoding (line 235)

Return the either 0 or 3 for respect AMF version

  • access: public
int getObjectEncoding ()
initialize (line 90)

Prepare the AMF InputStream for parsing.

  • access: public
Zend_Amf_Request initialize (string $request)
  • string $request
readBody (line 166)

Deserialize a message body from the input stream

  • access: public
readHeader (line 144)

Deserialize a message header from the input stream.

A message header is structured as:

  • NAME String
  • MUST UNDERSTAND Boolean
  • LENGTH Int
  • DATA Object

  • access: public
readMessage (line 104)

Takes the raw AMF input stream and converts it into valid PHP objects

  • access: public
setObjectEncoding (line 246)

Set the object response encoding

  • access: public
Zend_Amf_Request setObjectEncoding (mixed $int)
  • mixed $int

Documentation generated on Mon, 21 Jun 2010 15:42:05 -0400 by phpDocumentor 1.4.3