Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / NotifyService / RTNotify / StructuredEventSupplier_i.cpp
blob263b4d03d66aeead2fba8b93fc531885dc38bdb8
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 &