Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / DSI_AMI_Gateway / test_i.h
blob7c38878d778425d82e97dd077077846c38a4e626
2 //=============================================================================
3 /**
4 * @file test_i.h
6 * @author Carlos O'Ryan
7 */
8 //=============================================================================
11 #ifndef TAO_DSI_GATEWAY_TEST_I_H
12 #define TAO_DSI_GATEWAY_TEST_I_H
14 #include "testS.h"
16 /**
17 * @class Simple_Server_i
19 * @brief Simpler Server implementation
21 * Implements the Simple_Server interface in test.idl
23 class Simple_Server_i : public POA_Simple_Server
25 public:
26 /// ctor
27 Simple_Server_i (CORBA::ORB_ptr orb);
29 // = The Simple_Server methods.
30 CORBA::Long test_method (CORBA::Long x,
31 const Structure& the_in_structure,
32 Structure_out the_out_structure,
33 char *&name);
35 CORBA::Long test_val ();
37 void test_val (CORBA::Long test_val);
39 void raise_user_exception ();
41 void raise_system_exception ();
43 void shutdown ();
45 private:
46 // The ORB
47 CORBA::ORB_var orb_;
48 CORBA::Long vlong_;
51 #if defined(__ACE_INLINE__)
52 #include "test_i.inl"
53 #endif /* __ACE_INLINE__ */
55 #endif /* TAO_DSI_GATEWAY_TEST_I_H */