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.
package | Zend_Amf |
---|---|
subpackage | Value |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $targetUri, string $responseUri, string $data) : void
string
string
string
getData() : string
string
getResponseUri() : string
string
getTargetUri() : string
string
setData(mixed $data) : \Zend_Amf_Value_MessageBody
mixed
\Zend_Amf_Value_MessageBody
setReplyMethod(string $methodName) : \Zend_Amf_Value_MessageBody
string
\Zend_Amf_Value_MessageBody
setResponseUri(string $responseUri) : \Zend_Amf_Value_MessageBody
string
\Zend_Amf_Value_MessageBody
setTargetUri(string $targetUri) : \Zend_Amf_Value_MessageBody
string
\Zend_Amf_Value_MessageBody
$_data : string
When serializing a root level data type or a parameter list array, no name field is included. That is, the data is anonomously represented as "Type Marker"/"Value" pairs. When serializing member data, the data is represented as a series of "Name"/"Type"/"Value" combinations.
For server generated responses, it may contain any ActionScript data/objects that the server was expected to provide.
$_responseUri : string
""
Since the server will use this field in the event of an error, this field is required even if a successful server request would not be expected to return a value to the client.
$_targetUri : string
""