source: trunk/ORBit2-2.14.0/src/idl/interop/BiDirPolicy.idl

Last change on this file was 92, checked in by cinc, 19 years ago

Orbit2 modified for use with NOM

File size: 860 bytes
Line 
1// File: BiDirPolicy.idl
2// From CORBA 3.0: Chapter 15, General Inter-ORB Protocol
3
4#ifndef _BIDIR_POLICY_IDL_
5#define _BIDIR_POLICY_IDL_
6
7#ifdef _PRE_3_0_COMPILER_
8#pragma prefix "omg.org"
9
10#include <orb.idl>
11#else
12import ::CORBA;
13#endif // _PRE_3_0_COMPILER_
14
15// Self contained module for Bi-directional GIOP policy
16module BiDirPolicy {
17
18#ifndef _PRE_3_0_COMPILER_
19 typeprefix BiDirPolicy "omg.org";
20#endif // _PRE_3_0_COMPILER_
21
22 typedef unsigned short BidirectionalPolicyValue;
23
24 const BidirectionalPolicyValue NORMAL = 0;
25 const BidirectionalPolicyValue BOTH = 1;
26 const CORBA::PolicyType BIDIRECTIONAL_POLICY_TYPE = 37;
27
28 interface BidirectionalPolicy : CORBA::Policy {
29 readonly attribute BidirectionalPolicyValue value;
30 };
31};
32
33#endif // _BIDIR_POLICY_IDL_
Note: See TracBrowser for help on using the repository browser.