// Sample4/Aclass.java //########################################################## // Aclass Implementation (distributed with callbacks) //########################################################## // public class Aclass implements cam.netapp.SetClient { public Aclass(){}; public void setClient(Object Ob) throws Exception { appClient = (AppCI)Ob; } public void useCallBack(String S) { appClient.printString(S); } // Using local : uncomment the next block // ####################################### // App appClient; // ####################################### // // Using remote : uncomment the next block // ####################################### AppCI appClient; // ####################################### // }