Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Faults / ping_i.h
blobf32efaf14da5b67df182fe0710371b676aa7ab35
2 //=============================================================================
3 /**
4 * @file ping_i.h
6 * @author Carlos O'Ryan
7 */
8 //=============================================================================
11 #ifndef TAO_PING_I_H
12 #define TAO_PING_I_H
14 #include "pingS.h"
16 /**
17 * @class PingObject_i
19 * @brief A simple implementation of the <ping> interface
21 * Used to verify that the client can tolerate server crashes with
22 * oneway invocations and that there are no problems with
23 * persistent object references after the crash.
25 class PingObject_i : public POA_PingObject
27 public:
28 /// ctor
29 PingObject_i (CORBA::ORB_ptr orb,
30 PortableServer::POA_ptr the_poa);
32 // = The PingObject interface methods
33 void ping (PingObject_ptr callback);
34 void pong ();
35 void shutdown ();
37 PortableServer::POA_ptr _default_POA ();
39 private:
40 /// The orb
41 CORBA::ORB_var orb_;
43 /// The poa
44 PortableServer::POA_var poa_;
47 #if defined(__ACE_INLINE__)
48 #include "ping_i.inl"
49 #endif /* __ACE_INLINE__ */
51 #endif /* TAO_PING_I_H */