Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / orbsvcs / examples / ImR / Advanced / TestServer.h
blobdcfb52906632d9b0f6c9a3d0f07d087818d7ad13
1 #include "Messenger_i.h"
3 #include <memory>
5 #include "tao/IORTable/IORTable.h"
7 #include <string>
8 #include <vector>
10 class TestServer
12 public:
13 TestServer (CORBA::ORB_ptr, int argc, ACE_TCHAR *argv[]);
15 ~TestServer();
17 void run();
19 private:
20 int parseCommands (int argc, ACE_TCHAR *argv[]);
21 bool verifyEnvironment() const;
22 bool registerWithManager();
23 void buildObjects();
24 void pause(int milliseconds);
26 int serverID_;
27 int serverInstanceID_;
28 bool useIORTable_;
29 bool writeIORFile_;
30 bool retryQuery_;
31 ACE_TCHAR pauseType_;
32 int startupPause_;
33 int objActivatePause_;
34 int activatePause_;
35 int runPause_;
36 int numPOAS_;
37 int numObjsPerPOA_;
38 int useItLoseItSecs_;
40 std::string managerIor_;
41 std::string outputIor_;
42 std::string baseDir_;
43 std::string expectedDir_;
44 std::vector<std::pair<std::string, std::string> > expectedEnv_;
45 PortableServer::Servant_var<Messenger_i> servant_;
47 CORBA::ORB_var orb_;
48 IORTable::Table_var iorTable_;
49 PortableServer::POA_var root_;
50 PortableServer::POAManager_var mgr_;