Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3387_Regression / StructuredEventSupplier_i.cpp
blobb11df7abb34a3964e81beb7b13faf1a4e81e0cb2
1 #include "StructuredEventSupplier_i.h"
2 #include "tao/PortableServer/PS_CurrentC.h"
4 StructuredEventSupplier_i::StructuredEventSupplier_i(CORBA::ORB_ptr orb)
5 : orb_(CORBA::ORB::_duplicate(orb))
9 void
10 StructuredEventSupplier_i::disconnect_structured_push_supplier ()
13 CORBA::Object_var obj = orb_->resolve_initial_references ("POACurrent");
14 PortableServer::Current_var current =
15 PortableServer::Current::_narrow (obj.in());
16 PortableServer::POA_var poa = current->get_POA ();
17 PortableServer::ObjectId_var objectId = current->get_object_id ();
18 poa->deactivate_object (objectId.in());
22 void
23 StructuredEventSupplier_i::subscription_change (
24 const CosNotification::EventTypeSeq &,
25 const CosNotification::EventTypeSeq &