summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h
new file mode 100644
index 00000000000..cf5c1f5b831
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_Base.h
@@ -0,0 +1,49 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file FT_ProxyAdmin_Base.h
+ *
+ * $Id$
+ *
+ * @author Huang-Ming Huang <hh1@cse.wustl.edu>
+ */
+//=============================================================================
+#ifndef FT_PROXYADMIN_BASE_H
+#define FT_PROXYADMIN_BASE_H
+
+#include "ace/pre.h"
+#include "tao/corba.h"
+#include "tao/PortableServer/Servant_Base.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class FT_ProxyAdmin_Base
+{
+public:
+ FT_ProxyAdmin_Base(PortableServer::ServantBase* servant,
+ PortableServer::POA_var poa);
+ virtual ~FT_ProxyAdmin_Base();
+ void activate(const PortableServer::ObjectId& oid
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+
+ const PortableServer::ObjectId& object_id(ACE_ENV_SINGLE_ARG_DECL_NOT_USED) const;
+
+ /// Returns an CORBA object reference when the servant is activated
+ CORBA::Object_var reference(ACE_ENV_SINGLE_ARG_DECL_NOT_USED) const;
+
+protected:
+
+ PortableServer::ServantBase* servant_;
+ /// Store the default POA.
+ PortableServer::POA_var poa_;
+ /// store the object id
+ PortableServer::ObjectId object_id_;
+};
+
+
+
+#include "ace/post.h"
+#endif