Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
3
 
4
// LICENSE AGREEMENT. If folded, press za here to unfold and read license {{{
5
 
6
/**
7
* +-----------------------------------------------------------------------------+
8
* | Copyright (c) 2004-2006 Sergio Gonalves Carvalho                                |
9
* +-----------------------------------------------------------------------------+
10
* | This file is part of XML_RPC2.                                              |
11
* |                                                                             |
12
* | XML_RPC2 is free software; you can redistribute it and/or modify            |
13
* | it under the terms of the GNU Lesser General Public License as published by |
14
* | the Free Software Foundation; either version 2.1 of the License, or         |
15
* | (at your option) any later version.                                         |
16
* |                                                                             |
17
* | XML_RPC2 is distributed in the hope that it will be useful,                 |
18
* | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
19
* | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
20
* | GNU Lesser General Public License for more details.                         |
21
* |                                                                             |
22
* | You should have received a copy of the GNU Lesser General Public License    |
23
* | along with XML_RPC2; if not, write to the Free Software                     |
24
* | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                    |
25
* | 02111-1307 USA                                                              |
26
* +-----------------------------------------------------------------------------+
27
* | Author: Sergio Carvalho <sergio.carvalho@portugalmail.com>                  |
28
* +-----------------------------------------------------------------------------+
29
*
30
* @category   XML
31
* @package    XML_RPC2
32
* @author     Sergio Carvalho <sergio.carvalho@portugalmail.com>
33
* @copyright  2004-2006 Sergio Carvalho
34
* @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
35
* @version    CVS: $Id: Method.php 295362 2010-02-22 07:17:31Z clockwerx $
36
* @link       http://pear.php.net/package/XML_RPC2
37
*/
38
 
39
// }}}
40
 
41
/**
42
 * Interface for feeding input to an XML_RPC2_Server
43
 *
44
 * Classes to be used as input readers for XML_RPC2_Server instances
45
 * should implement this interface
46
 *
47
 * @category   XML
48
 * @package    XML_RPC2
49
 * @author     Sergio Carvalho <sergio.carvalho@portugalmail.com>
50
 * @copyright  2011 Sergio Carvalho
51
 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
52
 * @link       http://pear.php.net/package/XML_RPC2
53
 */
54
interface XML_RPC2_Server_Input
55
{
56
    /**
57
     * Return true if there is no input (input is empty)
58
     *
59
     * @return boolean True iff there is no input
60
     */
61
    public function isEmpty();
62
    /**
63
     * Return the input as a string
64
     *
65
     * @return string The Input
66
     */
67
    public function readRequest();
68
}