diff options
Diffstat (limited to 'TAO/tao/IIOP.pidl')
-rw-r--r-- | TAO/tao/IIOP.pidl | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/TAO/tao/IIOP.pidl b/TAO/tao/IIOP.pidl new file mode 100644 index 00000000000..cb5d6606a9d --- /dev/null +++ b/TAO/tao/IIOP.pidl @@ -0,0 +1,52 @@ +// -*- IDL -*- +// +// $Id$ + +/** + * + * This file was used to generate the code in + * IIOP*.* The command used to generate code + * is: + * + * tao_idl \ + * -o orig -Gp -Gd -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" \ + * -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL \ + * -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL \ + * IIOP.pidl + * + * Remember to patch the generated files using diff/IIOP.diff + * This is from the GIOP 1.2 spec for Bi Dir IIOP. + */ + +#ifndef TAO_IIOP_PIDL +#define TAO_IIOP_PIDL + +// This is a OMG specified IDL. When IIOP modules start getting +// complicated we may want to have them here. +#pragma prefix "omg.org" + +#if !defined (TAO_LACKS_IIOP) + +module IIOP +{ + struct ListenPoint + { + string host; + unsigned short port; + }; + + typedef sequence<ListenPoint> ListenPointList; + + struct BiDirIIOPServiceContext + { + ListenPointList listen_points; + }; +}; + +#endif /* TAO_LACKS_IIOP */ + +#endif /* TAO_IIOP_PIDL */ |