summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp')
-rw-r--r--TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp b/TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp
deleted file mode 100644
index 647b2545ef1..00000000000
--- a/TAO/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplier_i.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-// $Id$
-
-// EchoEventSupplier_i.cpp
-// Implements a PushSupplier.
-
-#include "EchoEventSupplier_i.h"
-#include "tao/PortableServer/PS_CurrentC.h"
-
-// Constructor duplicates the ORB reference.
-EchoEventSupplier_i::EchoEventSupplier_i(CORBA::ORB_ptr orb)
- : orb_(CORBA::ORB::_duplicate(orb))
-{
- // Nothing to do.
-}
-
-// Override the disconnect_push_Supplier() operation.
-void EchoEventSupplier_i::disconnect_push_supplier()
-{
- // Deactivate this object.
- CORBA::Object_var obj = orb_->resolve_initial_references("POACurrent");
- PortableServer::Current_var current = PortableServer::Current::_narrow(obj.in());
- PortableServer::POA_var poa = current->get_POA();
- PortableServer::ObjectId_var objectId = current->get_object_id();
- poa->deactivate_object(objectId.in());
-}