summaryrefslogtreecommitdiff
path: root/orbsvcs/orbsvcs/miop.idl
blob: 5cb773a2cd5d65940ead97cacf2fafd3c85772af (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
56
57
//
// $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;

  typedef char char4[4];
  struct PacketHeader_1_0
  {
    char4              magic;
    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;
 
  typedef sequence<IOP::TaggedComponent> Component_Seq;
  struct UIPMC_ProfileBody
  {
    Version           miop_version;
    Address           the_address;
    short             the_port;
    Component_Seq     components;
  };
};

#endif