00001 // -*- IDL -*- 00002 // 00003 // $Id: IIOP.pidl 81200 2008-04-01 13:03:30Z johnnyw $ 00004 00005 /** 00006 * 00007 * This file is used to generate the code in 00008 * IIOP*.* The command used to generate code 00009 * is: 00010 * 00011 * tao_idl \ 00012 * -o orig -Gp -Gd -GA -Sci 00013 * -Wb,export_macro=TAO_Export \ 00014 * -Wb,export_include="tao/TAO_Export.h" \ 00015 * -Wb,pre_include="ace/pre.h" \ 00016 * -Wb,post_include="ace/post.h" \ 00017 * -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL \ 00018 * -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL \ 00019 * IIOP.pidl 00020 * 00021 * Remember to patch the generated files using diff/IIOP.diff 00022 * This is from the GIOP 1.2 spec for Bi Dir IIOP. 00023 */ 00024 00025 #ifndef TAO_IIOP_PIDL 00026 #define TAO_IIOP_PIDL 00027 00028 // This is a OMG specified IDL. When IIOP modules start getting 00029 // complicated we may want to have them here. 00030 #pragma prefix "omg.org" 00031 00032 #if !defined (TAO_LACKS_IIOP) 00033 00034 module IIOP 00035 { 00036 struct ListenPoint 00037 { 00038 string host; 00039 unsigned short port; 00040 }; 00041 00042 typedef sequence<ListenPoint> ListenPointList; 00043 00044 struct BiDirIIOPServiceContext 00045 { 00046 ListenPointList listen_points; 00047 }; 00048 }; 00049 00050 #endif /* TAO_LACKS_IIOP */ 00051 00052 #endif /* TAO_IIOP_PIDL */