summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-04-12 14:11:44 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-04-12 14:11:44 +0000
commite30c0be78e222e708fc5010c5b678a72fc8ca4be (patch)
treefe2dde0d9d3e5aba67984c94c561b7f70f5a2cde /modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl
parent7627760802fdf292403c971e81c2dd113ebf4912 (diff)
downloadATCD-e30c0be78e222e708fc5010c5b678a72fc8ca4be.tar.gz
branching/tagging
Diffstat (limited to 'modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl')
-rw-r--r--modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl38
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl b/modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl
new file mode 100644
index 00000000000..be3148ed0ae
--- /dev/null
+++ b/modules/CIAO/ciao/Servants/CIAO_Port_Activator.idl
@@ -0,0 +1,38 @@
+/**
+ * @file CIAO_Port_Activator.idl
+ * @author Wiliam R. Otte <wotte@dre.vanderbilt.edu
+ * $Id$
+ * Local interface describing servant activators for component ports.
+ */
+
+#ifndef CIAO_PORT_ACTIVATOR_IDL_
+#define CIAO_PORT_ACTIVATOR_IDL_
+
+#include "tao/PortableServer/ServantActivator.pidl"
+
+module CIAO
+{
+ module Port_Activator_Types
+ {
+ enum Type
+ {
+ FACET,
+ SINK
+ };
+ };
+
+ local interface Port_Activator
+ {
+ /// OID of port this activator encapsulates
+ attribute string oid;
+
+ /// name of the port
+ readonly attribute string name;
+
+ PortableServer::Servant activate (in PortableServer::ObjectId oid);
+
+ void deactivate (in PortableServer::Servant servant);
+ };
+};
+
+#endif