diff options
author | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-30 18:31:24 +0000 |
---|---|---|
committer | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-30 18:31:24 +0000 |
commit | 99d1356e9099a86be66da1a46629e5d380d5c835 (patch) | |
tree | d03a11c90c768ea50962a24d7c0b83629085bd64 /TAO/orbsvcs/Notify_Service/Notify_Service.h | |
parent | 87fa5f54961347c9be0e76e7303601c97080bca1 (diff) | |
download | ATCD-99d1356e9099a86be66da1a46629e5d380d5c835.tar.gz |
Thu Mar 30 12:16:25 2000 Pradeep Gore <pradeep@flamenco.cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/Notify_Service/Notify_Service.h')
-rw-r--r-- | TAO/orbsvcs/Notify_Service/Notify_Service.h | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.h b/TAO/orbsvcs/Notify_Service/Notify_Service.h index 5c8562db63c..ac2a6a097ec 100644 --- a/TAO/orbsvcs/Notify_Service/Notify_Service.h +++ b/TAO/orbsvcs/Notify_Service/Notify_Service.h @@ -5,8 +5,9 @@ // = FILENAME // Notify_Service.h // -// = AUTHOR +// = AUTHORS // Pradeep Gore <pradeep@cs.wustl.edu> +// Service options code by Wei Chiang <Wei.Chiang@nokia.com>. // // = DESCRIPTION // Notification Service front end. @@ -19,6 +20,9 @@ #include "orbsvcs/CosNamingC.h" #include "orbsvcs/CosNotifyChannelAdminC.h" +#define NOTIFY_KEY "NotifyEventChannelFactory" +#define NOTIFY_CHANNEL_NAME "NotifyEventChannel" + class Notify_Service { // = TITLE @@ -35,9 +39,6 @@ class Notify_Service virtual ~Notify_Service (void); // Destructor. - int parse_args (int argc, char *argv []); - // Parses the command line arguments. - int startup (int argc, char *argv[], CORBA::Environment &ACE_TRY_ENV); // Initializes the Service. @@ -52,8 +53,8 @@ class Notify_Service // Shutdown the Service. // Returns 0 on success, -1 on error. - CosNotifyChannelAdmin::EventChannelFactory_var obj; - // temp hack. + // CosNotifyChannelAdmin::EventChannelFactory_var obj; + // protected: int init_ORB (int& argc, char *argv [], CORBA::Environment &ACE_TRY_ENV); @@ -62,10 +63,33 @@ protected: int resolve_naming_service (CORBA::Environment &ACE_TRY_ENV); // Resolve the naming service. + int parse_args (int argc, char *argv []); + // Parses the command line arguments. + // = Data members - const char* notify_factory_name_; + + int bootstrap_; + // 1: this service is bootstrappable + + int use_name_svc_; + // 1: register itself with the name service + + int register_ec_; + // 1: + + FILE *ior_output_file_; + // File where the IOR of the server object is stored. + + ACE_CString notify_factory_name_; + // The Factory name. + + ACE_CString notify_channel_name_; // The Factory name. + int register_event_channel_; + // 1: create an event channel and registers it with the Naming Service with + // the name <notify_channel_name_> + CosNotifyChannelAdmin::EventChannelFactory_var notify_factory_; // The Factory. |