summaryrefslogtreecommitdiff
path: root/TAO/tao/IOP.pidl
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-03-01 18:02:44 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-03-01 18:02:44 +0000
commit37d17e1d7022abd07c24a85efd71ff49c3aeff52 (patch)
tree7c06ca06117d2eff77631a7cd1ac138b3c8868ae /TAO/tao/IOP.pidl
parentaf8325a9e58dde88ff38ec067f2b8d889f16a4c1 (diff)
downloadATCD-37d17e1d7022abd07c24a85efd71ff49c3aeff52.tar.gz
ChangeLogTag:Thu Mar 01 09:38:28 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/IOP.pidl')
-rw-r--r--TAO/tao/IOP.pidl32
1 files changed, 31 insertions, 1 deletions
diff --git a/TAO/tao/IOP.pidl b/TAO/tao/IOP.pidl
index 0a6077b5f8a..66b06ba33a4 100644
--- a/TAO/tao/IOP.pidl
+++ b/TAO/tao/IOP.pidl
@@ -8,6 +8,7 @@
// is:
//
// tao_idl
+// -Ge 1
// -Wb,export_macro=TAO_Export
// -Wb,export_include="tao/TAO_Export.h"
// -Wb,pre_include="ace/pre.h"
@@ -18,6 +19,8 @@
#ifndef TAO_IOP_PIDL
#define TAO_IOP_PIDL
+#include "orb.idl"
+
#pragma prefix "omg.org"
module IOP
@@ -43,9 +46,10 @@ module IOP
};
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.7
+ // @@ related IDL files, in accordance with the Security Service 1.8
// @@ specification.
const ComponentId TAG_ORB_TYPE = 0;
@@ -92,6 +96,32 @@ module IOP
const ServiceId FT_GROUP_VERSION = 12;
const ServiceId FT_REQUEST = 13;
+ local interface Codec {
+ exception InvalidTypeForEncoding {};
+ exception FormatMismatch {};
+ exception TypeMismatch {};
+
+ CORBA::OctetSeq encode (in any data) raises (InvalidTypeForEncoding);
+ any decode (in CORBA::OctetSeq data) raises (FormatMismatch);
+ CORBA::OctetSeq encode_value (in any data) raises (InvalidTypeForEncoding);
+ any decode_value (in CORBA::OctetSeq data, in CORBA::TypeCode tc)
+ raises (FormatMismatch, TypeMismatch);
+ };
+
+ typedef short EncodingFormat;
+ const EncodingFormat ENCODING_CDR_ENCAPS = 0;
+
+ struct Encoding {
+ EncodingFormat format;
+ octet major_version;
+ octet minor_version;
+ };
+
+ local interface CodecFactory {
+ exception UnknownEncoding {};
+
+ Codec create_codec (in Encoding enc) raises (UnknownEncoding);
+ };
};
#pragma prefix ""