summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-12-13 22:54:26 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-12-13 22:54:26 +0000
commit2835a16fccc52a4f9efcb355d3fdbcaffb1ecf0b (patch)
treeaaeacdaaa12f497a85823bb32b1b1ccb2ca27c5c
parent4f0b220abeaec20d134b23d752b9a79c114d7d22 (diff)
downloadATCD-2835a16fccc52a4f9efcb355d3fdbcaffb1ecf0b.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/BiDirPolicy.pidl44
-rw-r--r--TAO/tao/IIOP.pidl3
-rw-r--r--TAO/tao/IIOPC.h4
3 files changed, 48 insertions, 3 deletions
diff --git a/TAO/tao/BiDirPolicy.pidl b/TAO/tao/BiDirPolicy.pidl
new file mode 100644
index 00000000000..ae2742d05df
--- /dev/null
+++ b/TAO/tao/BiDirPolicy.pidl
@@ -0,0 +1,44 @@
+// $Id$
+
+//
+// This file was used to generate the code in
+// BiDirPolicy*.* The command used to generate code
+// is:
+//
+// tao_idl \
+// -Wb,export_macro=TAO_Export \
+// -Wb,export_include="tao/TAO_Export.h" \
+// -Wb,pre_include="ace/pre.h" \
+// -Wb,post_include="ace/post.h" \
+// BiDirPolicy.pidl
+//
+// This is from the GIOP 1.2 spec for Bi Dir IIOP.
+
+#ifndef TAO_BIDIR_POLICY_PIDL
+#define TAO_BIDIR_POLICY_PIDL
+
+#pragma prefix "omg.org"
+
+#include "tao/Policy.pidl"
+
+// Self contained module for Bi-directional GIOP policy
+module BiDirPolicy
+{
+ typedef unsigned short BidirectionalPolicyValue;
+ const BidirectionalPolicyValue NORMAL = 0;
+ const BidirectionalPolicyValue BOTH = 1;
+ const CORBA::PolicyType BIDIRECTIONAL_POLICY_TYPE = 37;
+
+ // @@ This has ben made local. It was not so in the spec. Any reason
+ // that this shouldn't be a local interface ?
+ local interface BidirectionalPolicy : CORBA::Policy
+ {
+ readonly attribute BidirectionalPolicyValue value;
+ };
+};
+
+
+
+#pragma prefix ""
+
+#endif /* TAO_BIDIR_POLICY_PIDL*/
diff --git a/TAO/tao/IIOP.pidl b/TAO/tao/IIOP.pidl
index fc6b4c0a2d9..01c99db6e6c 100644
--- a/TAO/tao/IIOP.pidl
+++ b/TAO/tao/IIOP.pidl
@@ -19,10 +19,11 @@
#ifndef TAO_IIOP_PIDL
#define TAO_IIOP_PIDL
+// This is a OMG specified IDL. When IIOP modules start getting
+// complicated we may want to have them here.
#pragma prefix "omg.org"
-// IDL
module IIOP
{
struct ListenPoint
diff --git a/TAO/tao/IIOPC.h b/TAO/tao/IIOPC.h
index a89f2c2a9c7..cd01335f2b8 100644
--- a/TAO/tao/IIOPC.h
+++ b/TAO/tao/IIOPC.h
@@ -19,8 +19,8 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_IIOPC_H_
-#define _TAO_IDL_IIOPC_H_
+#ifndef TAO_IDL_IIOPC_H
+#define TAO_IDL_IIOPC_H
#include "ace/pre.h"