2 //=============================================================================
6 * This class implements a simple server for the
7 * Nested Upcalls - Triangle test
9 * @author Michael Kircher
11 //=============================================================================
14 #ifndef _TRIANGLE_TEST_INITITATOR_SERVER_H
15 #define _TRIANGLE_TEST_INITITATOR_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 "Initiator_i.h"
28 * @class Initiator_Server
30 * @brief This is the server for the Initiator in the test.
32 * See the README file for more information.
34 class Initiator_Server
37 /// Default constructor
43 /// read in the IOR's for the two objects A and B
44 int read_ior (ACE_TCHAR
*filename
, unsigned int A_B
);
46 /// Initialize the Initiator_Server state - parsing arguments and ...
54 /// Parses the commandline arguments.
57 /// The IOR of object A
60 /// The IOR of object B
63 /// reference to object A
64 Object_A_var object_A_var_
;
66 /// reference to object B
67 Object_B_var object_B_var_
;
70 TAO_ORB_Manager orb_manager_
;
72 /// Implementation object of the Initiator
73 Initiator_i
*initiator_i_ptr_
;
75 /// Number of commandline arguments.
78 /// commandline arguments.
81 /// IOR of my servant.
82 CORBA::String_var str_
;
85 #endif /* _TRIANGLE_TEST_INITITATOR_SERVER_H */