Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / SupplierAdmin_Command.h
blobf95c319339c8e7a8f727d75d7d9f9469bec08979
1 /* -*- C++ -*- */
2 /**
3 * @file SupplierAdmin_Command.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
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)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "ace/SString.h"
19 #include "orbsvcs/CosNotifyChannelAdminC.h"
20 #include "Command.h"
22 /**
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
29 public:
30 /// Constructor
31 TAO_Notify_Tests_SupplierAdmin_Command ();
33 /// Destructor
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 ();
42 /// Name of object
43 virtual const char* get_name ();
44 static const char* name ();
46 protected:
47 enum COMMAND
49 CREATE,
50 OFFER,
51 DESTROY,
52 SET_QOS,
53 SET_ADMIN,
54 DUMP_STATE
57 ACE_CString name_;
59 ACE_CString factory_;
61 CosNotifyChannelAdmin::InterFilterGroupOperator ifgop_;
63 CosNotifyChannelAdmin::AdminID id_;
65 CosNotification::QoSProperties qos_;
67 // Subscription change
68 CosNotification::EventTypeSeq added_;
69 CosNotification::EventTypeSeq removed_;
71 /// = Handlers
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 */