Support for flex messaging.
This plugin can be deactivated if the project doesn't need flex messaging, usually a RemoteObject in Flex.
Flex doesn't use the basic packet system. When using a remote objct, first a CommandMessage is sent, expecting an AcknowledgeMessage in return. Then a RemotingMessage is sent, expecting an AcknowledgeMessage in return. This plugin adds support for this message flow.
In case of an error, an ErrorMessage is expected
Located in /Amfphp/Plugins/AmfphpFlexMessaging/AmfphpFlexMessaging.php (line 32)
if this is set, special error handling applies
the messageId of the last flex message. Used for error generation
the response uri of the last flex message. Used for error generation
constructor.
flex expects error messages formatted in a special way, using the ErrorMessage object.
handle the request message instead of letting the Amf Handler do it.
FIELD_MESSAGE_ID
= 'messageId'
(line 38)
FLEX_TYPE_ACKNOWLEDGE_MESSAGE
= 'flex.messaging.messages.AcknowledgeMessage'
(line 35)
FLEX_TYPE_COMMAND_MESSAGE
= 'flex.messaging.messages.CommandMessage'
(line 33)
FLEX_TYPE_ERROR_MESSAGE
= 'flex.messaging.messages.ErrorMessage'
(line 36)
FLEX_TYPE_REMOTING_MESSAGE
= 'flex.messaging.messages.RemotingMessage'
(line 34)
Documentation generated on Mon, 23 Jan 2012 17:22:02 -0300 by phpDocumentor 1.4.3