// // test.idl,v 1.1 1999/12/21 23:51:55 irfan Exp // // ================================================================ // // = FILENAME // test.idl // // = DESCRIPTION // This is the test interface that uses ACS callbacks. // Has been written taking the AMI example and changing // as little as possible to use ACS callbacks instead of AMI // callbacks. // // = AUTHOR // G.Chiozzi, R.Lemke (Irfan Pyarali for the AMI example) // // ================================================================ #include interface test { void method (in unsigned long request_number, out unsigned long reply_number); // GCH/RLE // // Here we just add the definition for the asynchronous method // with the ACS callback parameters. // In AMI the asynchronous method is generated automatically by // the IDL compiler. // void method_async(in unsigned long request_number, in ESO::CBlong cb, in ESO::CBDescIn desc); // the next method was added to demonstrate that on the client side // ALL methods have to be implemented, regardless if one whats to use // them or not! #ifdef ADDITIONAL void additional_method (in unsigned long request_number, out unsigned long reply_number); void additional_method_async(in unsigned long request_number, in ESO::CBlong cb, in ESO::CBDescIn desc); #endif oneway void shutdown (); };