summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h')
-rw-r--r--ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h b/ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h
new file mode 100644
index 00000000000..2490b33d051
--- /dev/null
+++ b/ACE/TAO/orbsvcs/orbsvcs/Event/ECG_Address_Server_Base.h
@@ -0,0 +1,42 @@
+// -*- C++ -*-
+/**
+ * @file ECG_Address_Server_Base.h
+ *
+ * $Id$
+ *
+ * @author Marina Spivak (marina@atdesk.com)
+ *
+ */
+
+#ifndef TAO_ECG_ADDRESS_SERVER_BASE_H
+#define TAO_ECG_ADDRESS_SERVER_BASE_H
+#include /**/ "ace/pre.h"
+
+#include /**/ "orbsvcs/Event/event_serv_export.h"
+#include "orbsvcs/RtecUDPAdminS.h"
+#include "orbsvcs/Event/EC_Lifetime_Utils.h"
+#include "ace/Auto_Ptr.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+/**
+ * @class TAO_ECG_Address_Server_Base
+ *
+ * @brief All implementations of RtecUDPAdmin::AddrServer idl
+ * interface should inherit from this abstract base.
+ *
+ * Adds init () virtual method so that all AddrServer implementations can be
+ * initialized in the same fasion.
+ */
+class TAO_RTEvent_Serv_Export TAO_ECG_Address_Server_Base
+ : public virtual POA_RtecUDPAdmin::AddrServer
+{
+public:
+
+ virtual int init (const char *arg) = 0;
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* TAO_ECG_ADDRESS_SERVER_BASE_H */