3 * @file Periodic_Consumer_Command.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_Tests_PERIODICCONSUMER_COMMAND_H
9 #define TAO_Notify_Tests_PERIODICCONSUMER_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_Consumer
;
25 * @class TAO_Notify_Tests_Periodic_Consumer_Command
27 * @brief Options for Periodic Consumers.
29 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Periodic_Consumer_Command
: public TAO_Notify_Tests_Command
33 TAO_Notify_Tests_Periodic_Consumer_Command ();
36 ~TAO_Notify_Tests_Periodic_Consumer_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 ();
66 CosNotification::QoSProperties qos_
;
68 // Subscription change
69 CosNotification::EventTypeSeq added_
;
70 CosNotification::EventTypeSeq removed_
;
73 // Retreive the consumer.
74 TAO_Notify_Tests_Periodic_Consumer
* consumer ();
77 void handle_create ();
78 void handle_subscriptions ();
79 void handle_disconnect ();
80 void handle_deactivate ();
81 void handle_status ();
82 void handle_set_qos ();
85 #include /**/ "ace/post.h"
86 #endif /* TAO_Notify_Tests_PERIODICCONSUMER_COMMAND_H */