3 * @file SequencePushSupplier.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_Tests_SEQUENCEPUSHSUPPLIER_H
9 #define TAO_Notify_Tests_SEQUENCEPUSHSUPPLIER_H
10 #include /**/ "ace/pre.h"
12 #include "notify_test_export.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "orbsvcs/CosNotifyChannelAdminS.h"
19 #include "orbsvcs/NotifyExtC.h"
21 #include "Supplier_T.h"
23 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_SequenceProxyPushConsumer_Traits
26 typedef CosNotifyChannelAdmin::SequenceProxyPushConsumer INTERFACE
;
27 typedef CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr PTR
;
28 typedef CosNotifyChannelAdmin::SequenceProxyPushConsumer_var VAR
;
29 typedef CosNotifyChannelAdmin::ProxyID ID
;
32 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_SequencePushSupplier_Traits
35 TAO_Notify_Tests_SequencePushSupplier_Traits ();
37 typedef CosNotifyComm::SequencePushSupplier INTERFACE
;
38 typedef CosNotifyComm::SequencePushSupplier_ptr PTR
;
39 typedef CosNotifyComm::SequencePushSupplier_var VAR
;
40 typedef POA_CosNotifyComm::SequencePushSupplier SKELETON
;
42 typedef TAO_Notify_Tests_SequenceProxyPushConsumer_Traits Proxy_Traits
;
43 typedef TAO_Notify_Tests_SupplierAdmin_Traits Admin_Traits
;
44 typedef TAO_Notify_Tests_SupplierAdmin_Ext_Traits Admin_Ext_Traits
;
46 const CosNotifyChannelAdmin::ClientType type_
;
49 typedef TAO_Notify_Tests_Supplier_T
<TAO_Notify_Tests_SequencePushSupplier_Traits
> TAO_Notify_Tests_SequencePushSupplier_Base
;
52 * @class TAO_Notify_Tests_SequencePushSupplier
54 * @brief SequencePushSupplier Implementation.
56 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_SequencePushSupplier
: public TAO_Notify_Tests_SequencePushSupplier_Base
58 typedef TAO_Notify_Tests_SequencePushSupplier_Traits Peer_Traits
;
59 typedef Peer_Traits::Admin_Traits Admin_Traits
;
60 typedef Peer_Traits::Admin_Ext_Traits Admin_Ext_Traits
;
61 typedef Peer_Traits::Proxy_Traits Proxy_Traits
;
65 TAO_Notify_Tests_SequencePushSupplier ();
68 virtual ~TAO_Notify_Tests_SequencePushSupplier ();
71 virtual void send_events (const CosNotification::EventBatch
& events
);
75 virtual void connect_to_peer (Proxy_Traits::PTR proxy_ptr
, Peer_Traits::PTR peer_ptr
);
77 /// Disconnect from proxy.
78 virtual void disconnect_from_proxy ();
80 // = SequencePushSupplier method
81 virtual void disconnect_sequence_push_supplier ();
84 #if defined (__ACE_INLINE__)
85 #include "SequencePushSupplier.inl"
86 #endif /* __ACE_INLINE__ */
88 #include /**/ "ace/post.h"
89 #endif /* TAO_Notify_Tests_SEQUENCEPUSHSUPPLIER_H */