doc/proxy [en]
Differences between version #6849 and #6865
7c7
< interface I
---
> interface MyInterface
15c15
< package de.aboutwhat;
---
> package;
29,30c29,30
< public function resolve( name : String ) : Connection {
< methodToCall = name;
---
> public function resolve( method: String ) : Connection {
> methodToCall = method;
40c40
< <code>class IDynamicImpl extends haxe.remoting.Proxy<de.aboutwhat.IServerApi>, implements I</code>
---
> <code>class MyInterfaceDynamic extends haxe.remoting.Proxy<MyInterface>, implements I</code>
48c48
< var dynamicImpl = new IDynamicImpl(res); // create an Implemention whenever you want
---
> var dynamicImpl = new MyInterfaceDynamic(res); // create an Implemention whenever you want
51,52c51
< You can create an Interface Implementation on the fly and you have auto-completion, too.
<
---
> Now you can create an Interface Implementation on the fly and you have auto-completion, too.
69c68
< package de.aboutwhat;
---
> package;
82,83c81,82
< public function resolve( name : String ) : AsyncConnection {
< methodToCall = name;
---
> public function resolve( method : String ) : AsyncConnection {
> methodToCall = method;
101a101
> declare Proxy:
102a103,107
> class MyProxy extends haxe.remoting.AsyncProxy <IServerApi> {}
> </code>
>
> use it:
> <code>
148a154,156
>
> Edited on 24.08.2009
> fixed a few naming mistakes
\ No newline at end of file
| Ver | Date | User | Action |
|---|---|---|---|
| #8048 | 2010-02-06 06:19:41 | hhoelzer | View | Diff |
| #8047 | 2010-02-06 06:17:36 | hhoelzer | View | Diff |
| #8046 | 2010-02-06 06:17:08 | hhoelzer | View | Diff |
| #8045 | 2010-02-06 06:07:06 | hhoelzer | View | Diff |
| #8044 | 2010-02-06 06:05:55 | hhoelzer | View | Diff |
| #6929 | 2009-09-01 19:00:17 | TheHippo | View | Diff |
| #6882 | 2009-08-24 15:18:00 | hhoelzer | View | Diff |
| #6879 | 2009-08-24 14:58:05 | hhoelzer | View | Diff |
| #6878 | 2009-08-24 14:57:18 | hhoelzer | View | Diff |
| #6875 | 2009-08-24 14:32:30 | hhoelzer | View | Diff |
| #6874 | 2009-08-24 14:31:54 | hhoelzer | View | Diff |
| #6872 | 2009-08-24 14:27:49 | hhoelzer | View | Diff |
| #6870 | 2009-08-24 14:27:33 | hhoelzer | View | Diff |
| #6869 | 2009-08-24 14:27:01 | hhoelzer | View | Diff |
| #6868 | 2009-08-24 14:26:44 | hhoelzer | View | Diff |
| #6867 | 2009-08-24 14:26:28 | hhoelzer | View | Diff |
| #6866 | 2009-08-24 14:26:07 | hhoelzer | View | Diff |
| #6865 | 2009-08-24 14:25:33 | hhoelzer | View | Diff |
| #6849 | 2009-08-24 06:27:00 | rwheeler | View | Diff |
| #6848 | 2009-08-24 06:22:39 | rwheeler | View | Diff |
Previous | Next