2 #ifndef CALLBACK_SERVICE_H
3 #define CALLBACK_SERVICE_H
4 #include /**/ "ace/pre.h"
8 /// Implement the Test::Service interface
10 : public virtual POA_Test::Service
14 Service (CORBA::ORB_ptr orb
);
18 * In case of failure this exposes any incomplete runs.
22 // = The skeleton methods
23 virtual void run_test (Test::Callback_ptr callback
);
26 /// Call the are_you_there callback multiple times.
28 * @return Number of exceptions raised
30 int call_are_you_there (Test::Callback_ptr callback
);
32 /// Call the test_oneway method mutiple times.
34 * @return Number of exceptions raised
36 int call_test_oneway (Test::Callback_ptr callback
);
39 /// Count the number of tests executed
42 /// Use an ORB reference to shutdown the application.
46 #include /**/ "ace/post.h"
47 #endif /* CALLBACK_SERVICE_H */