Merge pull request #2316 from jwillemsen/jwi-taskcommenttypo
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / NotifyService / Messenger / StructuredEventSupplier_i.cpp
blob97d8865479bffaf1a9eb664cc1434b62d10739dc
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 ()
12 CORBA::Object_var obj = orb_->resolve_initial_references ("POACurrent");
13 PortableServer::Current_var current =
14 PortableServer::Current::_narrow (obj.in());
15 PortableServer::POA_var poa = current->get_POA ();
16 PortableServer::ObjectId_var objectId = current->get_object_id ();
17 poa->deactivate_object (objectId.in());
20 void
21 StructuredEventSupplier_i::subscription_change (
22 const CosNotification::EventTypeSeq &,
23 const CosNotification::EventTypeSeq &)