1<?php
2/**
3 * pfcproxycommand.class.php
4 *
5 * Copyright © 2006 Stephane Gully <stephane.gully@gmail.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, 51 Franklin St, Fifth Floor,
20 * Boston, MA  02110-1301  USA
21 */
22require_once dirname(__FILE__)."/pfci18n.class.php";
23require_once dirname(__FILE__)."/pfcuserconfig.class.php";
24require_once dirname(__FILE__)."/pfccommand.class.php";
25
26/**
27 * pfcProxyCommand is an abstract class (interface) which must be inherited by each concrete proxy commands
28 *
29 * @author Stephane Gully <stephane.gully@gmail.com>
30 */
31class pfcProxyCommand extends pfcCommand
32{
33  /**
34   * Next proxy command
35   */
36  var $next = null;
37
38  /**
39   * The proxy name (similare to the command name)
40   */
41  var $proxyname = '';
42
43  /**
44   * Constructor
45   */
46  function pfcProxyCommand()
47  {
48    pfcCommand::pfcCommand();
49  }
50
51  function linkTo(&$cmd)
52  {
53    $this->next = $cmd;
54  }
55}
56
57?>