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_DIFFSERV_POLICY_IDL
00030 #define TAO_DIFFSERV_POLICY_IDL
00031
00032 #include "tao/Policy.pidl"
00033
00034 #pragma prefix "tao"
00035
00036 module TAO
00037 {
00038 typedef long DiffservCodepoint;
00039
00040 enum NetworkPriorityModel
00041 {
00042 CLIENT_PROPAGATED_NETWORK_PRIORITY,
00043 SERVER_DECLARED_NETWORK_PRIORITY,
00044 NO_NETWORK_PRIORITY
00045 };
00046
00047 const CORBA::PolicyType SERVER_NETWORK_PRIORITY_TYPE = 0x54410002;
00048 const CORBA::PolicyType CLIENT_NETWORK_PRIORITY_TYPE = 0x54410003;
00049 const CORBA::PolicyType NETWORK_PRIORITY_TYPE = 0x54410004;
00050
00051 local interface NetworkPriorityPolicy : CORBA::Policy
00052 {
00053 attribute NetworkPriorityModel network_priority_model;
00054 attribute DiffservCodepoint request_diffserv_codepoint;
00055 attribute DiffservCodepoint reply_diffserv_codepoint;
00056 };
00057 };
00058
00059 #pragma prefix ""
00060
00061 #endif