\Zend_Amf_Value_MessageBody
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.
<p/>
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.
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Amf_Value_MessageBody
{
- // members
- protected string $_targetUri = "";
- protected string $_responseUri = "";
- protected $_data;
- // methods
- public void __construct()
- public string getTargetUri()
- public Zend_Amf_Value_MessageBody setTargetUri()
- public string getResponseUri()
- public Zend_Amf_Value_MessageBody setResponseUri()
- public string getData()
- public Zend_Amf_Value_MessageBody setData()
- public Zend_Amf_Value_MessageBody setReplyMethod()
Members
protected
- $_data
—
string
Contains the actual data associated with the operation. It contains the client's parameter data that is passed to the server's operation/method. - $_responseUri
—
string
Universal Resource Identifier that uniquely targets the originator's Object that should receive the server's response. The server will use this path specification to target the "OnResult()" or "onStatus()" handlers within the client. For Flash, it specifies an ActionScript Object path only. The NetResponse object pointed to by the Response Uri contains the connection state information. Passing/specifying this provides a convenient mechanism for the client/server to share access to an object that is managing the state of the shared connection. - $_targetUri
—
string
A string describing which operation, function, or method is to be remotley invoked.
Methods
public
- __construct() — Constructor
- getData() — Retrieve response data
- getResponseUri() — Get target Uri
- getTargetUri() — Retrieve target Uri
- setData() — Set response data
- setReplyMethod() — Set reply method
- setResponseUri() — Set response Uri
- setTargetUri() — Set target Uri