summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Notify_Service/Notify_Service.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Notify_Service/Notify_Service.h')
-rw-r--r--TAO/orbsvcs/Notify_Service/Notify_Service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.h b/TAO/orbsvcs/Notify_Service/Notify_Service.h
index eee09fdc3f9..df529d9d58a 100644
--- a/TAO/orbsvcs/Notify_Service/Notify_Service.h
+++ b/TAO/orbsvcs/Notify_Service/Notify_Service.h
@@ -1,6 +1,5 @@
/* -*- C++ -*- */
// $Id$
-
// ============================================================================
//
// = FILENAME
@@ -18,10 +17,11 @@
#ifndef NOTIFY_SERVICE_H
#define NOTIFY_SERVICE_H
+#include "ace/Task.h"
#include "tao/PortableServer/PortableServer.h"
#include "orbsvcs/CosNotifyChannelAdminC.h"
#include "orbsvcs/CosNamingC.h"
-#include "ace/Task.h"
+#include "../orbsvcs/Notify/Service.h"
#define NOTIFY_KEY "NotifyEventChannelFactory"
#define NOTIFY_CHANNEL_NAME "NotifyEventChannel"
@@ -69,7 +69,7 @@ class TAO_Notify_Service
// Initializes the Service.
// Returns 0 on success, -1 on error.
- int run (void);
+ int run (ACE_ENV_SINGLE_ARG_DECL);
// run the Service.
// Returns 0 on success, -1 on error.
@@ -77,6 +77,7 @@ class TAO_Notify_Service
// Shutdown the Service.
// Returns 0 on success, -1 on error.
+
// CosNotifyChannelAdmin::EventChannelFactory_var obj;
//
protected:
@@ -84,6 +85,8 @@ protected:
ACE_ENV_ARG_DECL);
// initialize the ORB.
+ TAO_NS_Service* notify_service_;
+
int resolve_naming_service (ACE_ENV_SINGLE_ARG_DECL);
// Resolve the naming service.