00001 // 00002 // $Id: IIOP_Endpoints.pidl 81200 2008-04-01 13:03:30Z johnnyw $ 00003 00004 /** 00005 * This file contains idl definition for data structures used to 00006 * encapsulate data in TAO_TAG_ENDPOINTS tagged component. This 00007 * TAO-specific component is used for transmission of multiple 00008 * endpoints per single profile. Data structures defined here are 00009 * used for transmission of IIOP endpoints. See IIOP_Profile.* 00010 * for more details. 00011 * 00012 * This file is used to generate the code in 00013 * IIOP_EndpointsC.* The command used to generate code 00014 * is: 00015 * 00016 * tao_idl 00017 * -o orig -GA -Sci \ 00018 * -Wb,export_macro=TAO_Export \ 00019 * -Wb,export_include="tao/TAO_Export.h" \ 00020 * -Wb,pre_include="ace/pre.h" \ 00021 * -Wb,post_include="ace/post.h" \ 00022 * IIOP_Endpoints.pidl 00023 */ 00024 00025 #ifndef _TAO_IIOP_ENDPOINTS_IDL_ 00026 #define _TAO_IIOP_ENDPOINTS_IDL_ 00027 00028 module TAO 00029 { 00030 /// Stores information for a single IIOP endpoint. 00031 struct IIOP_Endpoint_Info 00032 { 00033 string host; 00034 short port; 00035 short priority; 00036 }; 00037 00038 /// Stores information for a collection of IIOP endpoints. 00039 typedef sequence <IIOP_Endpoint_Info> IIOPEndpointSequence; 00040 }; 00041 00042 #endif /* _TAO_IIOP_ENDPOINTS_IDL_ */