File indexing completed on 2024-12-29 05:27:26
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Amf 0017 * @subpackage Value 0018 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0019 * @license http://framework.zend.com/license/new-bsd New BSD License 0020 * @version $Id$ 0021 */ 0022 0023 /** Zend_Amf_Value_Messaging_AbstractMessage */ 0024 // require_once 'Zend/Amf/Value/Messaging/AbstractMessage.php'; 0025 0026 /** 0027 * This type of message contains information needed to perform 0028 * a Remoting invocation. 0029 * 0030 * Corresponds to flex.messaging.messages.RemotingMessage 0031 * 0032 * @package Zend_Amf 0033 * @subpackage Value 0034 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0035 * @license http://framework.zend.com/license/new-bsd New BSD License 0036 */ 0037 class Zend_Amf_Value_Messaging_RemotingMessage extends Zend_Amf_Value_Messaging_AbstractMessage 0038 { 0039 0040 /** 0041 * The name of the service to be called including package name 0042 * @var String 0043 */ 0044 public $source; 0045 0046 /** 0047 * The name of the method to be called 0048 * @var string 0049 */ 0050 public $operation; 0051 0052 /** 0053 * The arguments to call the mathod with 0054 * @var array 0055 */ 0056 public $parameters; 0057 0058 /** 0059 * Create a new Remoting Message 0060 * 0061 * @return void 0062 */ 0063 public function __construct() 0064 { 0065 $this->clientId = $this->generateId(); 0066 $this->destination = null; 0067 $this->messageId = $this->generateId(); 0068 $this->timestamp = time().'00'; 0069 $this->timeToLive = 0; 0070 $this->headers = new stdClass(); 0071 $this->body = null; 0072 } 0073 }