1 #include "StructuredPushSupplier.h"
3 #if ! defined (__ACE_INLINE__)
4 #include "StructuredPushSupplier.inl"
5 #endif /* __ACE_INLINE__ */
8 TAO_Notify_Tests_StructuredPushSupplier_Traits::TAO_Notify_Tests_StructuredPushSupplier_Traits ()
9 :type_ (CosNotifyChannelAdmin::STRUCTURED_EVENT
)
13 /*******************************************************************/
15 TAO_Notify_Tests_StructuredPushSupplier::TAO_Notify_Tests_StructuredPushSupplier ()
19 TAO_Notify_Tests_StructuredPushSupplier::~TAO_Notify_Tests_StructuredPushSupplier ()
24 TAO_Notify_Tests_StructuredPushSupplier::send_event (
25 const CosNotification::StructuredEvent
& event
28 ACE_ASSERT (!CORBA::is_nil (this->proxy_
.in ()));
30 this->proxy_
->push_structured_event (event
);
34 TAO_Notify_Tests_StructuredPushSupplier::connect_to_peer (Proxy_Traits::PTR proxy_ptr
, Peer_Traits::PTR peer_ptr
)
36 proxy_ptr
->connect_structured_push_supplier (peer_ptr
);
40 TAO_Notify_Tests_StructuredPushSupplier::disconnect_from_proxy ()
42 ACE_DEBUG((LM_DEBUG
, "\nPush Supplier disconnecting from consumer.\n"));
43 this->proxy_
->disconnect_structured_push_consumer ();
47 TAO_Notify_Tests_StructuredPushSupplier::disconnect_structured_push_supplier ()
49 bool this_method_used_only_by_notify_service
= false;
50 ACE_ASSERT(this_method_used_only_by_notify_service
);
51 ACE_UNUSED_ARG(this_method_used_only_by_notify_service
);