3 * @file Periodic_Supplier_Command.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_Tests_PERIODICSUPPLIER_COMMAND_H
9 #define TAO_Notify_Tests_PERIODICSUPPLIER_COMMAND_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 "ace/SString.h"
19 #include "orbsvcs/CosNotifyChannelAdminC.h"
22 class TAO_Notify_Tests_Periodic_Supplier
;
25 * @class TAO_Notify_Tests_Periodic_Supplier_Command
27 * @brief Command for Periodic Suppliers.
29 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Periodic_Supplier_Command
: public TAO_Notify_Tests_Command
33 TAO_Notify_Tests_Periodic_Supplier_Command ();
36 ~TAO_Notify_Tests_Periodic_Supplier_Command ();
38 /// Parse args and populate options.
39 virtual void init (ACE_Arg_Shifter
& arg_shifter
);
41 /// Execute the command.
42 virtual void execute_i ();
45 virtual const char* get_name ();
46 static const char* name ();
65 CosNotification::QoSProperties qos_
;
68 CosNotification::EventTypeSeq added_
;
69 CosNotification::EventTypeSeq removed_
;
72 // Retreive the suppliers.
73 TAO_Notify_Tests_Periodic_Supplier
* supplier ();
76 void handle_create ();
77 void handle_offers ();
78 void handle_disconnect ();
79 void handle_deactivate ();
80 void handle_status ();
81 void handle_set_qos ();
84 #include /**/ "ace/post.h"
85 #endif /* TAO_Notify_Tests_PERIODICSUPPLIER_COMMAND_H */