summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/miop.idl
blob: b539dd7154a154420ba19cdad8fd49157d5528f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// $Id$
//
// ================================================================
//
// = LIBRARY
//   TAO_PortableGroup
//
// = FILENAME
//   miop.pidl
//
// = DESCRIPTION
//
//   This file contains MIOP packet and profile information from
//   the MIOP specification.
//
// ================================================================

#ifndef MIOP_IDL
#define MIOP_IDL

#include "tao/IOP.pidl"
#include "tao/GIOP.pidl"

#pragma prefix "omg.org"

module MIOP
{
  typedef sequence <octet, 252> UniqueId;

  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;
  };

  typedef GIOP::Version Version;

  typedef string Address;

  struct UIPMC_ProfileBody
  {
    Version           miop_version;
    Address           the_address;
    short             the_port;
    sequence<IOP::TaggedComponent> components;
  };
};

#endif