3
// ================================================================
7
* TAO.pidl,v 1.15 2003/11/16 15:48:10 bala Exp
9
* This file contains TAO-specific idl interfaces (not part of CORBA
12
* The steps to regenerate the code are as follows:
14
* 1. Run the tao_idl compiler on the pidl file. The command used for
18
* -o orig -Gp -Gd -Ge 1 -GT -GA
19
* -Wb,export_macro=TAO_Export
20
* -Wb,pre_include="ace/pre.h"
21
* -Wb,post_include="ace/post.h"
24
* 2. Then patch the generated code. The patch fixes the interface
25
* repository IDs, disables the code under certain configurations,
26
* and eliminates cycles in the include dependencies.
28
* Apply patches using the following commands:
30
* patch < diffs/TAOC.h.diff
31
* patch < diffs/TAOC.i.diff
32
* patch < diffs/TAOC.cpp.diff
34
* @note The diffs were generated with these commands:
36
* * Note: to update the patch file after re-generating the code use:
38
* for i in TAO{C,S,S_T}.{h,i,cpp}; do
39
* diff -uBbw orig/$i $i;
40
* done > diffs/TAO.diff
42
// ================================================================
47
#include "Policy.pidl"
48
#include "TimeBase.pidl"
49
#include "Messaging_SyncScope.pidl"
57
// Buffering constraint.
59
typedef unsigned short BufferingConstraintMode;
60
const BufferingConstraintMode BUFFER_FLUSH = 0x00;
62
// Note that timeout, message_count, and message_bytes can be or'd.
63
const BufferingConstraintMode BUFFER_TIMEOUT = 0x01;
64
const BufferingConstraintMode BUFFER_MESSAGE_COUNT = 0x02;
65
const BufferingConstraintMode BUFFER_MESSAGE_BYTES = 0x04;
67
struct BufferingConstraint
69
BufferingConstraintMode mode;
70
TimeBase::TimeT timeout;
71
unsigned long message_count;
72
unsigned long message_bytes;
75
const CORBA::PolicyType BUFFERING_CONSTRAINT_POLICY_TYPE = 0x54410001;
77
local interface BufferingConstraintPolicy : CORBA::Policy
79
readonly attribute BufferingConstraint buffering_constraint;
83
const Messaging::SyncScope SYNC_EAGER_BUFFERING = Messaging::SYNC_NONE;
84
const Messaging::SyncScope SYNC_DELAYED_BUFFERING = -2;
90
#endif /* TAO_TAO_IDL */