Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tests / InterOp-Naming / Server_i.h
blob5a11fc728aca42aafebcbb7a93bb68cf48553591
2 //=============================================================================
3 /**
4 * @file Server_i.h
6 * The class is the driver for the INS test server.
8 * @author Vishal Kachroo <vishal@cs.wustl.edu>
9 */
10 //=============================================================================
13 #ifndef SERVER_I_H
14 #define SERVER_I_H
16 #include "tao/Utils/ORB_Manager.h"
17 #include "ace/Get_Opt.h"
18 #include "ace/Read_Buffer.h"
19 #include "INS_i.h"
21 class Server_i
23 public:
24 /// Constructor.
25 Server_i ();
27 /// Destructor.
28 ~Server_i ();
30 /// Initialize the Server state - parsing arguments and waiting.
31 int init (int argc,
32 ACE_TCHAR *argv[]);
34 /// Add an IOR to the ORB-IOR table.
35 int add_IOR_to_table (CORBA::String_var ior);
37 /// Run the orb.
38 int run ();
40 protected:
41 /// Servant class
42 INS_i servant_;
44 /// Parses the commandline arguments.
45 int parse_args ();
47 /// The ORB manager - a helper class for accessing the POA and
48 /// registering objects.
49 TAO_ORB_Manager orb_manager_;
51 /// File where the IOR of the server object is stored.
52 FILE *ior_output_file_;
54 /// Used test the INS.
55 char * ins_;
57 /// Number of command line arguments.
58 int argc_;
60 /// The command line arguments.
61 ACE_TCHAR **argv_;
64 #endif /* SERVER_I_H */