summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp')
-rw-r--r--TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp b/TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp
index e80efb54cee..18b8b30e45b 100644
--- a/TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp
+++ b/TAO/orbsvcs/DevGuideExamples/NotifyService/Messenger/StructuredEventConsumer_i.cpp
@@ -9,10 +9,8 @@ StructuredEventConsumer_i::StructuredEventConsumer_i(CORBA::ORB_ptr orb)
void
StructuredEventConsumer_i::push_structured_event(
- const CosNotification::StructuredEvent &event
- )
+ const CosNotification::StructuredEvent &event)
{
-
std::cout << "event received " << std::endl;
const char *value;
@@ -21,26 +19,22 @@ StructuredEventConsumer_i::push_structured_event(
event.filterable_data[i].value >>= value;
std::cout << event.filterable_data[i].name.in() << "\t" << value << std::endl;
}
-
}
void
StructuredEventConsumer_i::disconnect_structured_push_consumer()
{
-
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());
-
}
void
StructuredEventConsumer_i::offer_change(
const CosNotification::EventTypeSeq &,
- const CosNotification::EventTypeSeq &
- )
+ const CosNotification::EventTypeSeq &)
{
}