1 #ifndef TAO_BIDIR_POLICY_PIDL
2 #define TAO_BIDIR_POLICY_PIDL
4 #include "tao/Policy.pidl"
6 #pragma prefix "omg.org"
8 // Self contained module for Bi-directional GIOP policy
11 typedef unsigned short BidirectionalPolicyValue;
12 const BidirectionalPolicyValue NORMAL = 0;
13 const BidirectionalPolicyValue BOTH = 1;
14 const CORBA::PolicyType BIDIRECTIONAL_POLICY_TYPE = 37;
16 // @@ This has been made local. It was not so in the spec. Any reason
17 // why this shouldn't be a local interface ?
18 local interface BidirectionalPolicy : CORBA::Policy
20 readonly attribute BidirectionalPolicyValue value;
24 #endif /* TAO_BIDIR_POLICY_PIDL*/