3
* @file ConsumerAdmin_Command.h
5
* ConsumerAdmin_Command.h,v 1.6 2003/07/21 23:51:33 dhinton Exp
7
* @author Pradeep Gore <pradeep@oomworks.com>
12
#ifndef TAO_Notify_Tests_CONSUMERADMIN_COMMAND_H
13
#define TAO_Notify_Tests_CONSUMERADMIN_COMMAND_H
14
#include /**/ "ace/pre.h"
16
#include "notify_test_export.h"
18
#if !defined (ACE_LACKS_PRAGMA_ONCE)
20
#endif /* ACE_LACKS_PRAGMA_ONCE */
22
#include "ace/SString.h"
23
#include "orbsvcs/CosNotifyChannelAdminC.h"
27
* @class TAO_Notify_Tests_ConsumerAdmin_Command
29
* @brief Command for ConsumerAdmin objects.
32
class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_ConsumerAdmin_Command : public TAO_Notify_Tests_Command
36
TAO_Notify_Tests_ConsumerAdmin_Command (void);
39
~TAO_Notify_Tests_ConsumerAdmin_Command ();
41
/// Parse args and populate options.
42
virtual void init (ACE_Arg_Shifter& arg_shifter);
44
/// Execute the command.
45
virtual void execute_i (ACE_ENV_SINGLE_ARG_DECL);
48
virtual const char* get_name (void);
49
static const char* name (void);
55
// Remove clash with /usr/include/machine/cpu.h and /usr/include/pa/cpu.h
72
CosNotifyChannelAdmin::InterFilterGroupOperator ifgop_;
74
CosNotifyChannelAdmin::AdminID id_;
76
CosNotification::QoSProperties qos_;
78
// Subscription change
79
CosNotification::EventTypeSeq added_;
80
CosNotification::EventTypeSeq removed_;
83
void handle_create (ACE_ENV_SINGLE_ARG_DECL);
84
void handle_subscriptions (ACE_ENV_SINGLE_ARG_DECL);
85
void handle_status (ACE_ENV_SINGLE_ARG_DECL);
86
void handle_set_qos (ACE_ENV_SINGLE_ARG_DECL);
89
#include /**/ "ace/post.h"
90
#endif /* TAO_Notify_Tests_CONSUMERADMIN_COMMAND_H */