1 |
<? |
<? |
2 |
/** |
/** |
3 |
* This file contains the DesignPattern::AdapterProxy class |
* This file contains the DesignPattern::AdapterProxy namespace. |
|
* |
|
|
* It combines features from both the standard Proxy |
|
|
* and the TransparentProxy adding some Adapter features |
|
4 |
* |
* |
5 |
* @author Andreas Motl <andreas.motl@ilo.de> |
* @author Andreas Motl <andreas.motl@ilo.de> |
6 |
* @package org.netfrag.glib |
* @package org.netfrag.glib |
|
* @name DesignPattern::AdapterProxy |
|
7 |
* @filesource |
* @filesource |
8 |
* |
* |
|
* |
|
|
* |
|
9 |
* <b>Cvs-Log:</b> |
* <b>Cvs-Log:</b> |
10 |
* |
* |
11 |
* <pre> |
* <pre> |
12 |
* $Id$ |
* $Id$ |
13 |
* |
* |
14 |
* $Log$ |
* $Log$ |
15 |
|
* Revision 1.5 2003/03/05 16:45:58 joko |
16 |
|
* updated docu (phpDocumentor testing....) |
17 |
|
* |
18 |
* Revision 1.4 2003/03/05 16:32:18 joko |
* Revision 1.4 2003/03/05 16:32:18 joko |
19 |
* updated docu (phpDocumentor testing....) |
* updated docu (phpDocumentor testing....) |
20 |
* |
* |
42 |
|
|
43 |
|
|
44 |
/** |
/** |
45 |
* This tries to implement some DesignPattern |
* This tries to combine some DesignPatterns.... |
46 |
* |
* |
47 |
|
* It combines features from both the standard Proxy |
48 |
|
* and the TransparentProxy adding some Adapter features. |
49 |
* |
* |
50 |
* @author Andreas Motl <andreas.motl@ilo.de> |
* @author Andreas Motl <andreas.motl@ilo.de> |
|
* @link http://www.netfrag.org/~joko/ |
|
51 |
* @copyright (c) 2003 - All Rights reserved. |
* @copyright (c) 2003 - All Rights reserved. |
52 |
|
* @link http://www.netfrag.org/~joko/ |
53 |
|
* |
54 |
* @license GNU LGPL (GNU Lesser General Public License) |
* @license GNU LGPL (GNU Lesser General Public License) |
55 |
* @link http://www.gnu.org/licenses/lgpl.txt |
* @link http://www.gnu.org/licenses/lgpl.txt |
56 |
* |
* |
57 |
* @package org.netfrag.glib |
* @package org.netfrag.glib |
58 |
* @name DesignPattern::AdapterProxy |
* @name DesignPattern::AdapterProxy |
59 |
* |
* |
60 |
* @todo Learn TransparentProxy to do procedural calls instead |
* @todo |
61 |
|
* <p>Learn TransparentProxy to do procedural calls instead |
62 |
* of instantiating a component and even less code could be in here..... |
* of instantiating a component and even less code could be in here..... |
63 |
* benefit: the TransparentProxy would be become even more powerful |
* benefit: the TransparentProxy would be become even more powerful |
64 |
* eeäähhh, to the master Proxy it goes......!!! This one calls the handler(s)! |
* eeäähhh, to the master Proxy it goes......!!! This one calls the handler(s)! |
65 |
|
* </p> |
66 |
* |
* |
67 |
*/ |
*/ |
68 |
class DesignPattern_AdapterProxy extends DesignPattern_TransparentProxy { |
class DesignPattern_AdapterProxy extends DesignPattern_TransparentProxy { |