Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / DSI_AMI_Gateway / test_i.h
blob08fb539dde6b0c6b037a0dc45536b7f45808078b
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 (void);
37 void test_val (CORBA::Long test_val);
39 void raise_user_exception (void);
41 void raise_system_exception (void);
43 void shutdown (void);
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 */