package Counter; |
public class example_Count extends Skeleton implements Count { |
private int sum; |
example_CountImpl(String name) { // Count object constructor |
super(name); sum = 0; |
System.out.println("Count Object Created!"); |
} |
public int sum() throws CORBA.Exception { // accessor method: getSum |
} |
public void sum(int val) throws CORBA.Exception { // accessor method: setSum |
} |
public int increment() throws CORBA.Exception { // increment method |
} |
} |
Note: This code is generated by IDL->Java pre-compiler and needs to be |
completed by the developer (by implementing the indicated methods) |
Note: This code is created automatically by |
IDL->Java pre-compiler from the IDL spec |