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
))
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());
21 StructuredEventSupplier_i::subscription_change (
22 const CosNotification::EventTypeSeq
&,
23 const CosNotification::EventTypeSeq
&)