2 //=============================================================================
6 * This class implements a simple server for the
7 * Nested Upcalls - MT Client test
9 * @author Michael Kircher
11 //=============================================================================
14 #ifndef MT_CLIENT_TEST_MT_OBJECT_SERVER_H
15 #define MT_CLIENT_TEST_MT_OBJECT_SERVER_H
17 #include "ace/Get_Opt.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "ace/Log_Msg.h"
24 #include "tao/Utils/ORB_Manager.h"
25 #include "MT_Object_i.h"
28 * @class MT_Object_Server
30 * @brief This is the server for the object A in the test.
32 * See the README file for more information.
34 class MT_Object_Server
39 /// Default constructor
40 MT_Object_Server (void);
43 ~MT_Object_Server (void);
45 /// Initialize the NestedUpCalls_Server state - parsing arguments and ...
53 /// Parses the commandline arguments.
54 int parse_args (void);
56 /// File to output the IOR of the object A.
57 FILE* ior_output_file_
;
60 TAO_ORB_Manager orb_manager_
;
62 /// Implementation object MT_OBject
63 MT_Object_i mT_Object_i_
;
65 /// Number of commandline arguments.
68 /// commandline arguments.
71 u_char use_mt_object_
;
74 #endif /* MT_CLIENT_TEST_MT_OBJECT_SERVER_H */