2 //=============================================================================
6 * Test to check if ec, admin are assigned id's correctly.
8 * @author Chanaka Liyanaarachchi <chanaka@ociweb.com> and Pradeep Gore <pradeep@cs.wustl.edu>
10 //=============================================================================
13 #ifndef IDASSIGNMENT_H
14 #define IDASSIGNMENT_H
16 #include "orbsvcs/CosNotifyChannelAdminC.h"
24 int parse_args (int argc
,
31 CosNotifyChannelAdmin::ChannelID
create_ec ();
32 void destroy_ec (CosNotifyChannelAdmin::ChannelID id
);
34 CosNotifyChannelAdmin::AdminID
create_supplier_admin (
35 CosNotifyChannelAdmin::ChannelID channel_id
);
36 CosNotifyChannelAdmin::AdminID
create_consumer_admin (
37 CosNotifyChannelAdmin::ChannelID channel_id
);
39 void destroy_consumer_admin (CosNotifyChannelAdmin::ChannelID channel_id
,
40 CosNotifyChannelAdmin::AdminID admin_id
);
41 void destroy_supplier_admin (CosNotifyChannelAdmin::ChannelID channel_id
,
42 CosNotifyChannelAdmin::AdminID admin_id
);
44 bool default_consumer_admin_test (CosNotifyChannelAdmin::ChannelID channel_id
);
45 bool default_supplier_admin_test (CosNotifyChannelAdmin::ChannelID channel_id
);
49 CosNotifyChannelAdmin::EventChannelFactory_var notify_factory_
;
51 /// Number of iterations for the test.
54 /// Numbers of EC's to create.
57 /// Number of consumer admins to create per ec.
58 int consumer_admin_count_
;
60 /// Number of consumer admins to create per ec.
61 int supplier_admin_count_
;
64 #endif /* IDASSIGNMENT_H */