~chroot64bit/zivios/gentoo-experimental

« back to all changes in this revision

Viewing changes to application/library/Zend/Amf/Parse/Deserializer.php

  • Committer: Mustafa A. Hashmi
  • Date: 2008-12-04 13:32:21 UTC
  • Revision ID: mhashmi@zivios.org-20081204133221-0nd1trunwevijj38
Inclusion of new installation framework with ties to zend layout and dojo layout

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Zend Framework
 
4
 *
 
5
 * LICENSE
 
6
 *
 
7
 * This source file is subject to the new BSD license that is bundled
 
8
 * with this package in the file LICENSE.txt.
 
9
 * It is also available through the world-wide-web at this URL:
 
10
 * http://framework.zend.com/license/new-bsd
 
11
 * If you did not receive a copy of the license and are unable to
 
12
 * obtain it through the world-wide-web, please send an email
 
13
 * to license@zend.com so we can send you a copy immediately.
 
14
 *
 
15
 * @category   Zend
 
16
 * @package    Zend_Amf
 
17
 * @subpackage Parse
 
18
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
19
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
20
 */
 
21
 
 
22
/**
 
23
 * Abstract cass that all deserializer must implement.
 
24
 *
 
25
 * Logic for deserialization of the AMF envelop is based on resources supplied 
 
26
 * by Adobe Blaze DS. For and example of deserialization please review the BlazeDS 
 
27
 * source tree.
 
28
 *
 
29
 * @see        http://opensource.adobe.com/svn/opensource/blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/
 
30
 * @package    Zend_Amf
 
31
 * @subpackage Parse
 
32
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
33
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
34
 */
 
35
abstract class Zend_Amf_Parse_Deserializer
 
36
{
 
37
    /**
 
38
     * The raw string that represents the AMF request.
 
39
     *
 
40
     * @var Zend_Amf_Parse_InputStream
 
41
     */
 
42
    protected $_stream;
 
43
 
 
44
    /**
 
45
     * Constructor
 
46
     *
 
47
     * @param  Zend_Amf_Parse_InputStream $stream
 
48
     * @return void
 
49
     */
 
50
    public function __construct(Zend_Amf_Parse_InputStream $stream)
 
51
    {
 
52
        $this->_stream = $stream;
 
53
    }
 
54
 
 
55
    /**
 
56
     * Checks for AMF marker types and calls the appropriate methods
 
57
     * for deserializing those marker types. Markers are the data type of
 
58
     * the following value.
 
59
     *
 
60
     * @param  int $typeMarker
 
61
     * @return mixed Whatever the data type is of the marker in php
 
62
     */
 
63
    public abstract function readTypeMarker($markerType = null);
 
64
}