summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging/TAO_Ext.pidl
blob: 69b84c777ea7ee7e490a2f8cdd3b6dc7b07bf4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// -*- IDL -*-

// ================================================================
/**
 *  @file TAO_Ext.pidl
 *
 *  $Id$
 *
 *  This file contains extensions to the TAO-specific idl interfaces
 *  (not part of CORBA  2.6) defined in $TAO_ROOT/tao
 *
 *  The steps to regenerate the code are as follows:
 *
 * 1. Run the tao_idl compiler on the pidl file.  The command used for
 *   this is:
 *
 *   tao_idl
 *       -o orig -Gp -Gd -Ge 1 -Gv -DCORBA3
 *       -Wb,export_macro=TAO_Messaging_Export
 *       -Wb,pre_include="ace/pre.h"
 *       -Wb,post_include="ace/post.h"
 *       -Wb,export_include="tao/corbafwd.h" TAO_Ext.pidl
 *
 *   2. Then patch the generated code.  The patch fixes the interface
 *   repository IDs, disables the code under certain configurations,
 *   and eliminates cycles in the include dependencies.
 *
 *   Apply patches using the following commands:
 *
 *   patch < diffs/TAO_ExtC.h.diff
 *   patch < diffs/TAO_ExtC.i.diff
 *   patch < diffs/TAO_ExtC.cpp.diff
 *
 *   @note The diffs were generated with these commands:
 *
 *   diff -wBbu orig/TAO_ExtC.h TAO_ExtC.h > diffs/TAO_ExtC.diff
 *   diff -wBbu orig/TAO_ExtC.i TAO_ExtC.i >> diffs/TAO_ExtC.diff
 *   diff -wBbu orig/TAO_ExtC.cpp TAO_ExtC.cpp >> diffs/TAO_ExtC.diff
 */
// ================================================================

#ifndef TAO_TAO_EXT_IDL
#define TAO_TAO_EXT_IDL

#include "Policy.pidl"
#include "TimeBase.pidl"

#pragma prefix "tao"

module TAO
{
  const CORBA::PolicyType CONNECTION_TIMEOUT_POLICY_TYPE = 0x54410008;

    local interface ConnectionTimeoutPolicy : CORBA::Policy {
    readonly attribute TimeBase::TimeT relative_expiry;
    };

};

#pragma prefix ""

#endif /* TAO_TAO_EXT_IDL */