summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/EventType.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/EventType.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/EventType.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventType.h b/TAO/orbsvcs/orbsvcs/Notify/EventType.h
index 3fcd875060d..2378fe6ba80 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/EventType.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/EventType.h
@@ -21,6 +21,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/CosNotificationC.h"
+#include "Topology_Object.h"
/**
* @class TAO_Notify_EventType
@@ -31,7 +32,7 @@
* It is used by the Event Manager as a key to find subscription lists.
*
*/
-class TAO_Notify_Serv_Export TAO_Notify_EventType
+class TAO_Notify_Serv_Export TAO_Notify_EventType : public TAO_Notify::Topology_Savable
{
public:
/// Constuctor
@@ -41,7 +42,7 @@ public:
// Constuctor
/// Destructor
- ~TAO_Notify_EventType ();
+ virtual ~TAO_Notify_EventType ();
/// hash value
u_long hash (void) const;
@@ -70,6 +71,13 @@ public:
/// Helper to print contents.
void dump (void) const;
+ /// Initialize from an NVPList, return false on failure
+ bool init(const TAO_Notify::NVPList& attrs);
+
+ // TAO_Notify::Topology_Object
+
+ virtual void save_persistent (TAO_Notify::Topology_Saver& saver ACE_ENV_ARG_DECL);
+
protected:
/// Init this object.
void init_i (const char* domain_name, const char* type_name);