diff options
author | sumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-26 04:06:34 +0000 |
---|---|---|
committer | sumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-26 04:06:34 +0000 |
commit | f29c6c9857fc90ea8a7576d34d0152d65878bf79 (patch) | |
tree | 2ddb2256eda0b25f44d05763289e86c2792fe11d | |
parent | 95cdb92c22ae51a05d5fb1ff9617b29305e0a172 (diff) | |
download | ATCD-f29c6c9857fc90ea8a7576d34d0152d65878bf79.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/ChangeLog-98c | 4 | ||||
-rw-r--r-- | TAO/tao/TAO.cpp | 14 | ||||
-rw-r--r-- | TAO/tao/TAO.h | 6 |
3 files changed, 24 insertions, 0 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 2e05f071e82..25d0c7a2aee 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,7 @@ +Wed Mar 25 22:06:19 1998 Sumedh Mungee <sumedh@macarena.cs.wustl.edu> + + * tao/TAO.cpp: Added accessors for child/root poa. + Wed Mar 25 15:10:48 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu> * tao/encode.cpp: In the encoding of exceptions, we were not diff --git a/TAO/tao/TAO.cpp b/TAO/tao/TAO.cpp index dd6f82e0538..75f5fc4aae5 100644 --- a/TAO/tao/TAO.cpp +++ b/TAO/tao/TAO.cpp @@ -222,6 +222,20 @@ TAO_ORB_Manager::orb (void) return CORBA_ORB::_duplicate (this->orb_.in ()); } +// Return the root POA reference +PortableServer::POA_ptr +TAO_ORB_Manager::root_poa (void) +{ + return PortableServer::POA::_duplicate (this->poa_.in ()); +} + +// Return the child POA reference +PortableServer::POA_ptr +TAO_ORB_Manager::child_poa (void) +{ + return PortableServer::POA::_duplicate (this->child_poa_.in ()); +} + // Destructor. TAO_ORB_Manager::~TAO_ORB_Manager (void) diff --git a/TAO/tao/TAO.h b/TAO/tao/TAO.h index 1bb4ecf4e62..a09f29ae288 100644 --- a/TAO/tao/TAO.h +++ b/TAO/tao/TAO.h @@ -73,6 +73,12 @@ public: CORBA::ORB_ptr orb (void); // Accessor which returns the ORB pointer. + + PortableServer::POA_ptr root_poa (void); + // Accessor which returns the root poa + + PortableServer::POA_ptr child_poa (void); + // Accessor which returns the child poa protected: CORBA::ORB_var orb_; |