diff options
Diffstat (limited to 'TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h')
-rw-r--r-- | TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h deleted file mode 100644 index 8ebec0dad84..00000000000 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.h +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// ============================================================================ -// -// = FILENAME -// CosEvent_Service.h -// -// = AUTHOR -// Pradeep Gore <pradeep@cs.wustl.edu> -// -// = DESCRIPTION -// The COS Event Channel service. -// -// ============================================================================ - -#ifndef COSEVENT_SERVICE_H -#define COSEVENT_SERVICE_H - -#include "orbsvcs/CosEvent_Utilities.h" -#include "orbsvcs/CosNamingC.h" - -class CosEvent_Service : public CosEC_ServantBase -{ - // = TITLE - // CosEvent_Service - // - // = DESCRIPTION - // Implementation of the COS Event Service. - - public: - // = Initialization and termination methods. - CosEvent_Service (void); - // Constructor. - - virtual ~CosEvent_Service (void); - // Destructor. - - int parse_args (int argc, char *argv []); - // Parses the command line arguments. - - void startup (int argc, char *argv[], - CORBA::Environment &ACE_TRY_ENV); - // Initializes the COS Event Service. - // Returns 0 on success, -1 on error. - - int run (void); - // run the COS Event Service. - // Returns 0 on success, -1 on error. - - void shutdown (CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment ()); - // Shutdown the COS Event Service. - // Returns 0 on success, -1 on error. - -protected: - // = Methods from CosEC_ServantBase - virtual POA_RtecEventChannelAdmin::EventChannel_ptr - create_rtec (CORBA::Environment &ACE_TRY_ENV); - // Create a local rtec. - - virtual void activate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Activates the rtec. - - virtual void deactivate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Deactivates the rtec. - - void init_ORB (int& argc, char *argv [], - CORBA::Environment &ACE_TRY_ENV); - // initialize the ORB. - - void resolve_naming_service (CORBA::Environment &ACE_TRY_ENV); - // Resolve the naming service. - - void locate_rtec (CORBA::Environment &ACE_TRY_ENV); - // Locate a rtec. - - // = Data members - const char* service_name; - // The name we use to register with the Naming Service. - - const char* rt_service_name; - // The name of the Real Time Event Service. - - CORBA::ORB_var orb_; - // The ORB that we use. - - PortableServer::POA_var poa_; - // Reference to the root poa. - - CosNaming::NamingContext_var naming_; - // A naming context. - - CORBA::Boolean remote_Rtec_; - // Flag to indicate if the RtEC is local/remote, - // 0 => local, 1 => remote, default is local. -}; -#endif /* COSEVENT_SERVICE_H */ |