=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / CallbackTest / Service.h
blob441a1c3437035e4e96fe3815b59466aed3d3acc9
2 #ifndef CALLBACK_SERVICE_H
3 #define CALLBACK_SERVICE_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Service interface
9 class Service
10 : public virtual POA_Test::Service
12 public:
13 /// Constructor
14 Service (CORBA::ORB_ptr orb);
16 /// Dump the results.
17 /**
18 * In case of failure this exposes any incomplete runs.
20 void dump_results ();
22 // = The skeleton methods
23 virtual void run_test (Test::Callback_ptr callback);
25 private:
26 /// Call the are_you_there callback multiple times.
27 /**
28 * @return Number of exceptions raised
30 int call_are_you_there (Test::Callback_ptr callback);
32 /// Call the test_oneway method mutiple times.
33 /**
34 * @return Number of exceptions raised
36 int call_test_oneway (Test::Callback_ptr callback);
38 private:
39 /// Count the number of tests executed
40 int test_count_;
42 /// Use an ORB reference to shutdown the application.
43 CORBA::ORB_var orb_;
46 #include /**/ "ace/post.h"
47 #endif /* CALLBACK_SERVICE_H */