Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Server_Leaks / Ping_Service.h
blobae6b6806e2ced33ac34bc7ddf716c8c31c15996b
2 #ifndef SERVER_LEAKS_PING_SERVICE_H
3 #define SERVER_LEAKS_PING_SERVICE_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 /// Implement the Test::Ping_Service interface
9 class Ping_Service
10 : public virtual POA_Test::Ping_Service
12 public:
13 /// Constructor
14 Ping_Service (CORBA::ORB_ptr orb);
16 // = The skeleton methods
17 virtual void ping ();
19 virtual void shutdown ();
21 private:
22 /// Use an ORB reference to convert strings to objects and shutdown
23 /// the application.
24 CORBA::ORB_var orb_;
27 #include /**/ "ace/post.h"
28 #endif /* SERVER_LEAKS_PING_SERVICE_H */