3 * @file SupplierAdmin_Command.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_Tests_SUPPLIERADMIN_COMMAND_H
9 #define TAO_Notify_Tests_SUPPLIERADMIN_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"
23 * @class TAO_Notify_Tests_SupplierAdmin_Command
25 * @brief Command for Supplier Admins.
27 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_SupplierAdmin_Command
: public TAO_Notify_Tests_Command
31 TAO_Notify_Tests_SupplierAdmin_Command ();
34 ~TAO_Notify_Tests_SupplierAdmin_Command ();
36 /// Parse args and populate options.
37 virtual void init (ACE_Arg_Shifter
& arg_shifter
);
39 /// Execute the command.
40 virtual void execute_i ();
43 virtual const char* get_name ();
44 static const char* name ();
61 CosNotifyChannelAdmin::InterFilterGroupOperator ifgop_
;
63 CosNotifyChannelAdmin::AdminID id_
;
65 CosNotification::QoSProperties qos_
;
67 // Subscription change
68 CosNotification::EventTypeSeq added_
;
69 CosNotification::EventTypeSeq removed_
;
72 void handle_create ();
73 void handle_offers ();
74 void handle_status ();
75 void handle_set_qos ();
78 #include /**/ "ace/post.h"
79 #endif /* TAO_Notify_Tests_SUPPLIERADMIN_COMMAND_H */