diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-30 15:26:12 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-30 15:26:12 +0000 |
commit | 95f186e50a30f27bec692f53610dffb0bbe5b6a1 (patch) | |
tree | 00c113851afd0ee086f21a5c5e8470f6b6a83df3 /TAO/tao/IOP_IOR.pidl | |
parent | b1f0f87a0d065ff37863fc03e7ccc266913ae0e4 (diff) | |
download | ATCD-95f186e50a30f27bec692f53610dffb0bbe5b6a1.tar.gz |
ChangeLogTag: Sun Mar 30 09:17:09 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/IOP_IOR.pidl')
-rw-r--r-- | TAO/tao/IOP_IOR.pidl | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/TAO/tao/IOP_IOR.pidl b/TAO/tao/IOP_IOR.pidl new file mode 100644 index 00000000000..9692ade7991 --- /dev/null +++ b/TAO/tao/IOP_IOR.pidl @@ -0,0 +1,117 @@ +// -*- IDL -*- +/** + * @file IOP.pidl + * + * $Id$ + * + * @brief Pre-compiled IDL source for the IOP module. + * + * This file is used to generate IOPC.{h,i,cpp}, using the following + * command: + * + * tao_idl.exe + * -o orig -Gp -Gd -Ge 1 -Gv + * -Wb,export_macro=TAO_Export + * -Wb,export_include=TAO_Export.h + * -Wb,pre_include="ace/pre.h" + * -Wb,post_include="ace/post.h" + * IOP.pidl + * + * and then: + * + * cp orig/IOP_IORC.{h,i,cpp} . + * patch < diffs/IOPC.diff + * + * The code left in IOP_IORC.{h,i,cpp} is ready for use. + * + */ + +#ifndef TAO_IOP_IOR_PIDL +#define TAO_IOP_IOR_PIDL + +#include <orb.idl> +#include <OctetSeq.pidl> + +#pragma prefix "omg.org" + +module IOP +{ + typedef unsigned long ProfileId; + const ProfileId TAG_INTERNET_IOP = 0; + const ProfileId TAG_MULTIPLE_COMPONENTS = 1; + + struct TaggedProfile { + ProfileId tag; + CORBA::OctetSeq profile_data; + }; + + struct IOR { + string type_id; + sequence<TaggedProfile> profiles; + }; + + typedef unsigned long ComponentId; + struct TaggedComponent { + ComponentId tag; + CORBA::OctetSeq component_data; + }; + typedef sequence<TaggedComponent> MultipleComponentProfile; + typedef sequence<TaggedComponent> TaggedComponentList; + typedef sequence<TaggedComponent> TaggedComponentSeq; + + // @@ All security related tags are located in the Security Service + // @@ related IDL files, in accordance with the Security Service 1.8 + // @@ specification. + + const ComponentId TAG_ORB_TYPE = 0; + const ComponentId TAG_CODE_SETS = 1; + const ComponentId TAG_POLICIES = 2; + const ComponentId TAG_ALTERNATE_IIOP_ADDRESS = 3; + + const ComponentId TAG_COMPLETE_OBJECT_KEY = 5; + const ComponentId TAG_ENDPOINT_ID_POSITION = 6; + const ComponentId TAG_LOCATION_POLICY = 12; + const ComponentId TAG_DCE_STRING_BINDING = 100; + const ComponentId TAG_DCE_BINDING_NAME = 101; + const ComponentId TAG_DCE_NO_PIPES = 102; + + typedef unsigned long ServiceId; + struct ServiceContext { + ServiceId context_id; + sequence <octet> context_data; + }; + typedef sequence <ServiceContext> ServiceContextList; + + const ServiceId TransactionService = 0; + const ServiceId CodeSets = 1; + const ServiceId ChainBypassCheck = 2; + const ServiceId ChainBypassInfo = 3; + const ServiceId LogicalThreadId = 4; + const ServiceId BI_DIR_IIOP = 5; + const ServiceId SendingContextRunTime = 6; + const ServiceId INVOCATION_POLICIES = 7; + // const ServiceId FORWARDED_IDENTITY = 8; + const ServiceId UnknownExceptionInfo = 9; + + // The following are defined in CORBA v2.4.2 Chapter 24 (February, 2001): + const ServiceId RTCorbaPriority = 10; + const ServiceId RTCorbaPriorityRange = 11; + + // The following are defined in the ptc/2000-04-04: + // Fault Tolerant CORBA Specification, V1.0 + const ComponentId TAG_FT_GROUP = 27; + const ComponentId TAG_FT_PRIMARY = 28; + const ComponentId TAG_FT_HEARTBEAT_ENABLED = 29; + const ServiceId FT_GROUP_VERSION = 12; + const ServiceId FT_REQUEST = 13; + + // The following are not defined yet in the Unreliable Multicast + // InterORB Protocol (orbos/2001-11-08) + const ProfileId TAG_UIPMC = 0x54414f0c; // @@ Get real number + const ComponentId TAG_GROUP = 0x54414f03; // @@ Get real number + const ComponentId TAG_GROUP_IIOP = 0x54414f04; // @@ Get real number +}; + +#pragma prefix "" + +#endif /* TAO_IOP_PIDL */ |