|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| initialize ($request) | |
| readMessage (Zend_Amf_Parse_InputStream $stream) | |
| readHeader () | |
| readBody () | |
| getAmfBodies () | |
| addAmfBody (Zend_Amf_Value_MessageBody $message) | |
| getAmfHeaders () | |
| getObjectEncoding () | |
| setObjectEncoding ($int) | |
Protected Attributes | |
| $_clientType = 0 | |
| $_bodies = array() | |
| $_headers = array() | |
| $_objectEncoding = 0 | |
| $_inputStream | |
| $_deserializer | |
| $_time | |
Definition at line 46 of file Request.php.
| addAmfBody | ( | Zend_Amf_Value_MessageBody $ | message | ) |
Accessor to private array of message bodies.
| Zend_Amf_Value_MessageBody | $message |
Definition at line 214 of file Request.php.
| getAmfBodies | ( | ) |
Return an array of the body objects that were found in the amf request.
Definition at line 203 of file Request.php.

| getAmfHeaders | ( | ) |
Return an array of headers that were found in the amf request.
Definition at line 225 of file Request.php.

Return the either 0 or 3 for respect AMF version
Definition at line 235 of file Request.php.

| initialize | ( | $ | request | ) |
Prepare the AMF InputStream for parsing.
| string | $request |
Definition at line 90 of file Request.php.


| readBody | ( | ) |
Deserialize a message body from the input stream
Definition at line 166 of file Request.php.

| readHeader | ( | ) |
Deserialize a message header from the input stream.
A message header is structured as:
Definition at line 144 of file Request.php.

| readMessage | ( | Zend_Amf_Parse_InputStream $ | stream | ) |
Takes the raw AMF input stream and converts it into valid PHP objects
| Zend_Amf_Parse_InputStream |
Definition at line 104 of file Request.php.


| setObjectEncoding | ( | $ | int | ) |
Set the object response encoding
| mixed | $int |
Definition at line 246 of file Request.php.
$_bodies = array() [protected] |
Definition at line 56 of file Request.php.
$_clientType = 0 [protected] |
Definition at line 51 of file Request.php.
$_deserializer [protected] |
Definition at line 76 of file Request.php.
$_headers = array() [protected] |
Definition at line 61 of file Request.php.
$_inputStream [protected] |
Definition at line 71 of file Request.php.
$_objectEncoding = 0 [protected] |
Definition at line 66 of file Request.php.
$_time [protected] |
Definition at line 82 of file Request.php.