TAO.pidl

Go to the documentation of this file.
00001 // -*- IDL -*-
00002 
00003 // ================================================================
00004 /**
00005  *  @file TAO.pidl
00006  *
00007  *  TAO.pidl,v 1.21 2006/03/14 15:32:23 jtc Exp
00008  *
00009  *  This file contains TAO-specific idl interfaces (not part of CORBA
00010  *  2.6).
00011  *
00012  *  The steps to regenerate the code are as follows:
00013  *
00014  * 1. Run the tao_idl compiler on the pidl file.  The command used for
00015  *   this is:
00016  *
00017  *   tao_idl
00018  *       -o orig -Gp -Gd -Ge 1 -GA -SS -Sci
00019  *       -Wb,export_macro=TAO_Export
00020  *       -Wb,pre_include="ace/pre.h"
00021  *       -Wb,post_include="ace/post.h"
00022  *       TAO.pidl
00023  *
00024  * 2. The files are ready to use
00025  */
00026 // ================================================================
00027 
00028 #ifndef TAO_TAO_IDL
00029 #define TAO_TAO_IDL
00030 
00031 #include "tao/Policy.pidl"
00032 #include "tao/TimeBase.pidl"
00033 #include "tao/Messaging_SyncScope.pidl"
00034 
00035 #pragma prefix "tao"
00036 
00037 module TAO
00038 {
00039 
00040   //
00041   // Buffering constraint.
00042   //
00043   typedef unsigned short BufferingConstraintMode;
00044   const BufferingConstraintMode BUFFER_FLUSH         = 0x00;
00045 
00046   // Note that timeout, message_count, and message_bytes can be or'd.
00047   const BufferingConstraintMode BUFFER_TIMEOUT       = 0x01;
00048   const BufferingConstraintMode BUFFER_MESSAGE_COUNT = 0x02;
00049   const BufferingConstraintMode BUFFER_MESSAGE_BYTES = 0x04;
00050 
00051   struct BufferingConstraint
00052   {
00053     BufferingConstraintMode mode;
00054     TimeBase::TimeT timeout;
00055     unsigned long message_count;
00056     unsigned long message_bytes;
00057   };
00058 
00059   const CORBA::PolicyType BUFFERING_CONSTRAINT_POLICY_TYPE = 0x54410001;
00060 
00061   local interface BufferingConstraintPolicy : CORBA::Policy
00062     {
00063       readonly attribute BufferingConstraint buffering_constraint;
00064     };
00065 
00066   // = TAO specific.
00067   const Messaging::SyncScope SYNC_EAGER_BUFFERING   = Messaging::SYNC_NONE;
00068   const Messaging::SyncScope SYNC_DELAYED_BUFFERING = -2;
00069 
00070 };
00071 
00072 #pragma prefix ""
00073 
00074 #endif /* TAO_TAO_IDL */

Generated on Thu Nov 9 11:54:23 2006 for TAO by doxygen 1.3.6