1 | package Counter; |
2 | public interface Count extends org.omg.CORBA.Object { |
3 | /* Attribute Writer */ |
4 | public void sum(int sum); |
5 | /* Attribute Reader */ |
6 | public int sum(); |
7 | /*Implement Remote Operation */ |
8 | public int increment(); |
9 | } |
10 | Note: The IDL type long was converted to Java type int |
11 | Note: This code is created automatically by IDL->Java pre-compiler from the IDL spec |
12 | Note: All client programs invoking the remote count object must use this as interface definition for remote object |