Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef TAO_TAO_EXT_IDL
00030 #define TAO_TAO_EXT_IDL
00031
00032 #include "tao/Policy.pidl"
00033 #include "tao/TimeBase.pidl"
00034
00035 #pragma prefix "tao"
00036
00037 module TAO
00038 {
00039 const CORBA::PolicyType CONNECTION_TIMEOUT_POLICY_TYPE = 0x54410008;
00040
00041 local interface ConnectionTimeoutPolicy : CORBA::Policy {
00042 readonly attribute TimeBase::TimeT relative_expiry;
00043 };
00044
00045
00046
00047
00048 typedef unsigned short BufferingConstraintMode;
00049 const BufferingConstraintMode BUFFER_FLUSH = 0x00;
00050
00051
00052 const BufferingConstraintMode BUFFER_TIMEOUT = 0x01;
00053 const BufferingConstraintMode BUFFER_MESSAGE_COUNT = 0x02;
00054 const BufferingConstraintMode BUFFER_MESSAGE_BYTES = 0x04;
00055
00056 struct BufferingConstraint
00057 {
00058 BufferingConstraintMode mode;
00059 TimeBase::TimeT timeout;
00060 unsigned long message_count;
00061 unsigned long message_bytes;
00062 };
00063
00064 const CORBA::PolicyType BUFFERING_CONSTRAINT_POLICY_TYPE = 0x54410001;
00065
00066 local interface BufferingConstraintPolicy : CORBA::Policy
00067 {
00068 readonly attribute BufferingConstraint buffering_constraint;
00069 };
00070 };
00071
00072 #endif