Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2800_Regression / NamingTask.h
blob0fb3a5dd383a66bd7769c84fc044fe9ffa782a01
1 #ifndef NAMINGTASK_H
2 #define NAMINGTASK_H
4 #include "tao/CORBA_String.h"
5 #include "tao/ORB.h"
6 #include "ace/Task.h"
7 #include "ace/Synch_Traits.h"
9 class NamingTask : public ACE_Task_Base
11 public:
12 NamingTask (const char* orbname, int argc, ACE_TCHAR **argv, unsigned short port);
13 virtual int svc();
14 void waitInit ();
15 void end();
17 const char* ior ();
19 private:
20 CORBA::ORB_var orb_;
21 bool initialized_;
22 CORBA::String_var ior_;
25 #endif