Files
Testing/vidchat/m/SabreAMF/Deserializer.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

69 lines
1.5 KiB
PHP

<?php
/**
* SabreAMF_Deserializer
*
* @package SabreAMF
* @version $Id: Deserializer.php 233 2009-06-27 23:10:34Z evertpot $
* @copyright Copyright (C) 2006-2009 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @licence http://www.freebsd.org/copyright/license.html BSD License (4 Clause)
*/
require_once 'SabreAMF/ClassMapper.php';
require_once 'SabreAMF/InputStream.php';
/**
* SabreAMF_Deserializer
*
* This is the abstract Deserializer. The AMF0 and AMF3 classes descent from this class
*/
abstract class SabreAMF_Deserializer {
/**
* stream
*
* @var SabreAMF_InputStream
*/
protected $stream;
/**
* __construct
*
* @param SabreAMF_InputStream $stream
* @return void
*/
public function __construct(SabreAMF_InputStream $stream) {
$this->stream = $stream;
}
/**
* readAMFData
*
* Starts reading an AMF block from the stream
*
* @param mixed $settype
* @return mixed
*/
public abstract function readAMFData($settype = null);
/**
* getLocalClassName
*
* @param string $remoteClass
* @return mixed
*/
protected function getLocalClassName($remoteClass) {
return SabreAMF_ClassMapper::getLocalClass($remoteClass);
}
}