1 #include "Relay_Consumer.h"
4 #include "LookupManager.h"
6 TAO_Notify_Tests_Relay_Consumer::TAO_Notify_Tests_Relay_Consumer (ACE_CString
& destination
)
7 : destination_ (destination
)
11 TAO_Notify_Tests_Relay_Consumer::~TAO_Notify_Tests_Relay_Consumer ()
16 TAO_Notify_Tests_Relay_Consumer::connect ()
18 TAO_Notify_Tests_Direct_Consumer::connect ();
20 // Resolve the destination object.
21 LOOKUP_MANAGER
->resolve (this->destination_object_
, this->destination_
.c_str ());
25 TAO_Notify_Tests_Relay_Consumer::push_structured_event (const CosNotification::StructuredEvent
¬ification
)
27 // The Periodic Consumer will record the run statistics.
28 //TAO_Notify_Tests_Periodic_Consumer::push_structured_event (notification);
31 if (CORBA::is_nil (this->destination_object_
.in ()))
32 ACE_DEBUG ((LM_DEBUG
, "(%P,%t) Cannot Relay - Destination object %s is nil", this->destination_
.c_str ()));
34 this->destination_object_
->push_structured_event (notification
);