summaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr220255/base/ClientProxy.java
blob: 0ddfa48bc38bd5612f761f8091dba550aec7b0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class ClientProxy extends MyServiceImpl
{
    
    // just for this demo here; this cast allows
    // us to call to the interface (without the cast
    // we'd get a class cast exception)
    MyInterface this_in_disguise = this;
    
    
    @Clientside
    public String additionalValueServiceForTheCustomer() {
        return "if you don't know what to ask, then you " 
             + this_in_disguise.doA(42); // call through to the server side
    }

}