summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableGroup/miop.pidl
diff options
context:
space:
mode:
authorfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-15 17:24:52 +0000
committerfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-15 17:24:52 +0000
commit5322a39e6901a6bb19a735ae428c1fb10664cc1f (patch)
treee135b60a9d5cf3fd94e2774a900705c7554da8fe /TAO/tao/PortableGroup/miop.pidl
parentfc71ff4390f3a0569a96aa7919d521acb60186df (diff)
downloadATCD-miop.tar.gz
*** empty log message ***miop
Diffstat (limited to 'TAO/tao/PortableGroup/miop.pidl')
-rw-r--r--TAO/tao/PortableGroup/miop.pidl51
1 files changed, 13 insertions, 38 deletions
diff --git a/TAO/tao/PortableGroup/miop.pidl b/TAO/tao/PortableGroup/miop.pidl
index 862005a2a53..547b1f2c6ab 100644
--- a/TAO/tao/PortableGroup/miop.pidl
+++ b/TAO/tao/PortableGroup/miop.pidl
@@ -46,6 +46,7 @@
#define MIOP_IDL
#include <IOP.pidl>
+#include <GIOP.pidl>
#pragma prefix "omg.org"
@@ -55,50 +56,24 @@ module MIOP
struct PacketHeader_1_0
{
- char magic[4];
- octet hdr_version;
- octet flags;
- unsigned short packet_length;
- unsigned long packet_number;
- unsigned long number_of_packets;
- UniqueId Id;
+ char magic[4];
+ octet hdr_version;
+ octet flags;
+ unsigned short packet_length;
+ unsigned long packet_number;
+ unsigned long number_of_packets;
+ UniqueId Id;
};
- struct Version
- {
- octet major;
- octet minor;
- };
-
- typedef short IPVersion;
-
- const IPVersion IPv4 = 0;
- const IPVersion IPv6 = 1;
-
- struct UsingIpv4
- {
- unsigned short port;
- octet class_d_address[4]; // @@ Frank: changed to octet to avoid lots of casting
- };
-
- struct UsingIpv6
- {
- unsigned long port;
- string address;
- };
+ typedef GIOP::Version Version;
- union IPEndpoints switch (IPVersion)
- {
- case IPv4:
- UsingIpv4 ipv4_endpoints;
- case IPv6:
- UsingIpv6 ipv6_endpoints;
- };
+ typedef string Address;
struct UIPMC_ProfileBody
{
- Version miop_version;
- IPEndpoints endpoints;
+ Version miop_version;
+ Address the_address;
+ short the_port;
sequence<IOP::TaggedComponent> components;
};