diff options
Diffstat (limited to 'trunk/TAO/tao/IIOP_Endpoints.pidl')
-rw-r--r-- | trunk/TAO/tao/IIOP_Endpoints.pidl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/trunk/TAO/tao/IIOP_Endpoints.pidl b/trunk/TAO/tao/IIOP_Endpoints.pidl new file mode 100644 index 00000000000..72819ca75d4 --- /dev/null +++ b/trunk/TAO/tao/IIOP_Endpoints.pidl @@ -0,0 +1,42 @@ +// +// $Id$ + +/** + * This file contains idl definition for data structures used to + * encapsulate data in TAO_TAG_ENDPOINTS tagged component. This + * TAO-specific component is used for transmission of multiple + * endpoints per single profile. Data structures defined here are + * used for transmission of IIOP endpoints. See IIOP_Profile.* + * for more details. + * + * This file was used to generate the code in + * IIOP_EndpointsC.* The command used to generate code + * is: + * + * tao_idl + * -o orig -GA -Sci \ + * -Wb,export_macro=TAO_Export \ + * -Wb,export_include="tao/TAO_Export.h" \ + * -Wb,pre_include="ace/pre.h" \ + * -Wb,post_include="ace/post.h" \ + * IIOP_Endpoints.pidl + */ + +#ifndef _TAO_IIOP_ENDPOINTS_IDL_ +#define _TAO_IIOP_ENDPOINTS_IDL_ + +module TAO +{ + /// Stores information for a single IIOP endpoint. + struct IIOP_Endpoint_Info + { + string host; + short port; + short priority; + }; + + /// Stores information for a collection of IIOP endpoints. + typedef sequence <IIOP_Endpoint_Info> IIOPEndpointSequence; +}; + +#endif /* _TAO_IIOP_ENDPOINTS_IDL_ */ |