3 * @file Supplier_Client.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
8 #ifndef TAO_Notify_SUPPLIER_CLIENT_H
9 #define TAO_Notify_SUPPLIER_CLIENT_H
11 #include /**/ "ace/pre.h"
13 #include "ace/SString.h"
15 #include "ORB_Objects.h"
17 class TAO_Notify_Lanes_Supplier
;
20 * @class TAO_Notify_Lanes_Supplier_Client
22 * @brief Supplier Client
24 class TAO_Notify_Lanes_Supplier_Client
: public ACE_Task_Base
28 TAO_Notify_Lanes_Supplier_Client (TAO_Notify_ORB_Objects
& orb_objects
);
31 ~TAO_Notify_Lanes_Supplier_Client ();
34 void initialize (void);
40 int parse_args (int argc
, ACE_TCHAR
*argv
[]);
42 /// The thread entry point.
43 virtual int svc (void);
47 CosNotifyChannelAdmin::EventChannel_ptr
create_ec (void);
49 /// Write ior to file.
50 void write_ior (void);
53 TAO_Notify_ORB_Objects orb_objects_
;
55 /// Supplier that sends events.
56 TAO_Notify_Lanes_Supplier
* supplier_
;
58 /// The Number of consumers that we expect to send an event to.
61 /// Name of the file to write the supplier ior to.
62 ACE_TString ior_file_name_
;
65 #include /**/ "ace/post.h"
66 #endif /* TAO_Notify_SUPPLIER_CLIENT_H */