00001 // 00002 // miop.idl,v 1.3 2004/04/01 05:16:46 bala Exp 00003 // 00004 // ================================================================ 00005 // 00006 // = LIBRARY 00007 // TAO_PortableGroup 00008 // 00009 // = FILENAME 00010 // miop.pidl 00011 // 00012 // = DESCRIPTION 00013 // 00014 // This file contains MIOP packet and profile information from 00015 // the MIOP specification. 00016 // 00017 // ================================================================ 00018 00019 #ifndef MIOP_IDL 00020 #define MIOP_IDL 00021 00022 #include "tao/IOP.pidl" 00023 #include "tao/GIOP.pidl" 00024 00025 #pragma prefix "omg.org" 00026 00027 module MIOP 00028 { 00029 typedef sequence <octet, 252> UniqueId; 00030 00031 struct PacketHeader_1_0 00032 { 00033 char magic[4]; 00034 octet hdr_version; 00035 octet flags; 00036 unsigned short packet_length; 00037 unsigned long packet_number; 00038 unsigned long number_of_packets; 00039 UniqueId Id; 00040 }; 00041 00042 typedef GIOP::Version Version; 00043 00044 typedef string Address; 00045 00046 struct UIPMC_ProfileBody 00047 { 00048 Version miop_version; 00049 Address the_address; 00050 short the_port; 00051 sequence<IOP::TaggedComponent> components; 00052 }; 00053 }; 00054 00055 #endif