Moodle  2.2.1
http://www.collinsharper.com
Zend_Amf Namespace Reference

Detailed Description

Version:
$Id$
See also:
Zend_Amf_Auth_Abstract
Zend_Acl
Zend_Auth_Result This class implements authentication against XML file with roles for Flex Builder.

Adobe

This class implements authentication against XML file with roles for Flex Builder.

Adobe

See also:
Zend_Amf_Parse_TypeLoader
Zend_Reflection_Class
Zend_Server_Reflection This class implements a service for generating AMF service descriptions as XML.

Adobe

See also:
Zend_Auth_Adapter_Interface Base abstract class for AMF authentication implementation

Auth

The following constants are used throughout serialization and deserialization to detect the AMF marker and encoding types.

See also:
Zend_Exception

Parse_Amf0

Version:
$Id$

Zend_Amf_Constants

See also:
Zend_Amf_Parse_Deserializer Read an AMF0 input stream and convert it into PHP data types
Todo:

Implement Typed Object Class Mapping

Class could be implemented as Factory Class with each data type it's own class

Parse_Amf0

Zend_Amf_Constants

See also:
Zend_Amf_Parse_Serializer Serializer PHP misc types back to there corresponding AMF0 Type Marker.

Zend_Amf_Parse_Serializer

Parse_Amf0

Parse_Amf3

Version:
$Id$

Zend_Amf_Parse_Deserializer Zend_Amf_Parse_TypeLoader Read an AMF3 input stream and convert it into PHP data types.

Todo:

readObject to handle Typed Objects

readXMLStrimg to be implemented.

Class could be implemented as Factory Class with each data type it's own class.

Parse_Amf3

Zend_Amf_Constants Zend_Amf_Parse_Serializer Zend_Amf_Parse_TypeLoader Detect PHP object type and convert it to a corresponding AMF3 object type

Parse_Amf3

Parse

Version:
$Id$

Abstract cass that all deserializer must implement.

Logic for deserialization of the AMF envelop is based on resources supplied by Adobe Blaze DS. For and example of deserialization please review the BlazeDS source tree.

See also:
http://opensource.adobe.com/svn/opensource/blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/

Parse

Zend_Amf_Util_BinaryStream InputStream is used to iterate at a binary level through the AMF request.

InputStream extends BinaryStream as eventually BinaryStream could be placed outside of Zend_Amf in order to allow other packages to use the class.

Parse

Zend_Amf_Util_BinaryStream Iterate at a binary level through the AMF response

OutputStream extends BinaryStream as eventually BinaryStream could be placed outside of Zend_Amf in order to allow other packages to use the class.

Zend_Amf_Util_BinaryStream

Parse

This class will convert mysql result resource to array suitable for passing to the external entities.

Parse

This class will convert stream resource to string by just reading it

Parse

Base abstract class for all AMF serializers.

Parse

See also:
Zend_Amf_Value_Messaging_AcknowledgeMessage
Zend_Amf_Value_Messaging_AsyncMessage
Zend_Amf_Value_Messaging_CommandMessage
Zend_Amf_Value_Messaging_ErrorMessage
Zend_Amf_Value_Messaging_RemotingMessage Loads a local class and executes the instantiation of that class.
Todo:

PHP 5.3 can drastically change this class w/ namespace and the new call_user_func w/ namespace

Parse

Request

Version:
$Id$
See also:
Zend_Amf_Request AMF Request object -- Request via HTTP

Extends Zend_Amf_Request to accept a request via HTTP. Request is built at construction time using a raw POST; if no data is available, the request is declared a fault.

Request

See also:
Zend_Amf_Parse_InputStream
Zend_Amf_Parse_Amf0_Deserializer
Zend_Amf_Constants
Zend_Amf_Value_MessageHeader
Zend_Amf_Value_MessageBody 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.
Todo:

Currently not checking if the object needs to be Type Mapped to a server object.

Response

Version:
$Id$

Zend_Amf_Response Creates the proper http headers and send the serialized AMF stream to standard out.

Response

See also:
Zend_Amf_Constants
Zend_Amf_Parse_OutputStream
Zend_Amf_Parse_Amf0_Serializer Handles converting the PHP object ready for response back into AMF

Server

Version:
$Id$

Server

See also:
Zend_Server_Interface
Zend_Server_Reflection
Zend_Amf_Constants
Zend_Amf_Value_MessageBody
Zend_Amf_Value_MessageHeader
Zend_Amf_Value_Messaging_CommandMessage
Zend_Loader_PluginLoader
Zend_Amf_Parse_TypeLoader
Zend_Auth An AMF gateway server implementation to allow the connection of the Adobe Flash Player to Zend Framework
Todo:

Make the reflection methods cache and autoload.

Server

Util

Version:
$Id$

Utility class to walk through a data stream byte by byte with conventional names

Util

Value

Version:
$Id$

Wrapper class to store an AMF3 flash.utils.ByteArray

Value

An AMF Message contains information about the actual individual transaction that is to be performed. It specifies the remote operation that is to be performed; a local (client) operation to be invoked upon success; and, the data to be used in the operation.

This Message structure defines how a local client would invoke a method/operation on a remote server. Additionally, the response from the Server is structured identically.

Value

Message Headers provide context for the processing of the the AMF Packet and all subsequent Messages.

Multiple Message Headers may be included within an AMF Packet.

Value

This is the default Implementation of Message, which provides a convenient base for behavior and association of common endpoints

Value

Zend_Amf_Value_Messaging_AsyncMessage This is the type of message returned by the MessageBroker to endpoints after the broker has routed an endpoint's message to a service.

flex.messaging.messages.AcknowledgeMessage

Value

Type encapsulating Flex ArrayCollection

Corresponds to flex.messaging.io.ArrayCollection

Value

Zend_Amf_Value_Messaging_AbstractMessage This type of message contains information necessary to perform point-to-point or publish-subscribe messaging.

Value

See also:
Zend_Amf_Value_Messaging_AsyncMessage A message that represents an infrastructure command passed between client and server. Subscribe/unsubscribe operations result in CommandMessage transmissions, as do polling operations.

Corresponds to flex.messaging.messages.CommandMessage

Note: THESE VALUES MUST BE THE SAME ON CLIENT AND SERVER

Value

See also:
Zend_Amf_Value_Messaging_AcknowledgeMessage Creates the error message to report to flex the issue with the call

Corresponds to flex.messaging.messages.ErrorMessage

Value

Zend_Amf_Value_Messaging_AbstractMessage This type of message contains information needed to perform a Remoting invocation.

Corresponds to flex.messaging.messages.RemotingMessage

Value

Zend_Amf_Value_TraitsInfo

Value

 All Data Structures Namespaces Files Functions Variables Enumerations