Zend Framework  1.12
Zend_Amf Namespace Reference

More...

Detailed Description

Zend_Amf_Value_TraitsInfo.

Creates the error message to report to flex the issue with the call.

A message that represents an infrastructure command passed between client and server.

Zend_Amf_Value_Messaging_AbstractMessage.

Type encapsulating Flex ArrayCollection.

Zend_Amf_Value_Messaging_AsyncMessage.

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

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

An AMF Message contains information about the actual individual transaction that is to be performed.

Wrapper class to store an AMF3 flash.utils.ByteArray.

Value

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

Util

An AMF gateway server implementation to allow the connection of the Adobe Flash Player to Zend Framework.

Server

Handles converting the PHP object ready for response back into AMF.

Zend_Amf_Response.

Response

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.

AMF Request object – Request via HTTP.

Request

Loads a local class and executes the instantiation of that class.

Base abstract class for all AMF serializers.

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

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

Zend_Amf_Util_BinaryStream.

Abstract cass that all deserializer must implement.

Parse

Zend_Amf_Parse_Deserializer.

Parse_Amf3

Zend_Amf_Constants.

Parse_Amf0

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

Base abstract class for AMF authentication implementation.

This class implements a service for generating AMF service descriptions as XML.

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

(http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License

Version
$Id$
See Also
Zend_Amf_Auth_Abstract
Zend_Acl
Zend_Auth_Result
Zend_Xml_Security

Adobe

Adobe

See Also
Zend_Amf_Parse_TypeLoader
Zend_Reflection_Class
Zend_Server_Reflection

Adobe

See Also
Zend_Auth_Adapter_Interface Auth
See Also
Zend_Exception (http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License

Zend_Xml_Security

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

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

Zend_Amf_Parse_Serializer

Parse_Amf0

Zend_Xml_Security 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_Parse_Serializer Zend_Amf_Parse_TypeLoader Detect PHP object type and convert it to a corresponding AMF3 object type

Parse_Amf3

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

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

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

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
Todo:

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

Parse

See Also
Zend_Amf_RequestExtends 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
Todo:

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

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

(http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License

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
Todo:

Make the reflection methods cache and autoload.

Server

Util

Value

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

Multiple Message Headers may be included within an AMF Packet.

Value

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

Corresponds to flex.messaging.io.ArrayCollection

Value

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

Value

See Also
Zend_Amf_Value_Messaging_AsyncMessage 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_AcknowledgeMessageCorresponds to flex.messaging.messages.ErrorMessage

Value

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

Corresponds to flex.messaging.messages.RemotingMessage

Value