1 // -*- Mode: C++; -*-
2 //                            Package   : omniORB
3 // BiDirPolicy.h              Created on: 30/7/2001
4 //                            Author    : Sai Lai Lo (sll)
5 //
6 //    Copyright (C) 2001 AT&T Laboratories Cambridge
7 //
8 //    This file is part of the omniORB library
9 //
10 //    The omniORB library is free software; you can redistribute it and/or
11 //    modify it under the terms of the GNU Lesser General Public
12 //    License as published by the Free Software Foundation; either
13 //    version 2.1 of the License, or (at your option) any later version.
14 //
15 //    This library is distributed in the hope that it will be useful,
16 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
17 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 //    Lesser General Public License for more details.
19 //
20 //    You should have received a copy of the GNU Lesser General Public
21 //    License along with this library. If not, see http://www.gnu.org/licenses/
22 //
23 //
24 // Description:
25 //	*** PROPRIETARY INTERFACE ***
26 //
27 
28 #ifndef __BIDIRPOLICY_H__
29 #define __BIDIRPOLICY_H__
30 
31 _CORBA_MODULE BiDirPolicy
32 
33 _CORBA_MODULE_BEG
34 
35 typedef CORBA::UShort BidirectionalPolicyValue;
36 
37 _CORBA_MODULE_VARINT
38 const BidirectionalPolicyValue NORMAL             _init_in_decl_( = 0 );
39 
40 _CORBA_MODULE_VARINT
41 const BidirectionalPolicyValue BOTH               _init_in_decl_( = 1 );
42 
43 _CORBA_MODULE_VARINT
44 const CORBA::PolicyType BIDIRECTIONAL_POLICY_TYPE _init_in_decl_( = 37 );
45 
46 OMNIORB_DECLARE_POLICY_OBJECT(BidirectionalPolicy, 37)
47 
48 _CORBA_MODULE_END
49 
50 
51 
52 #endif // __BIDIRPOLICY_H__
53