summaryrefslogtreecommitdiff
path: root/tao/IIOP.pidl
blob: 8e5a1545da7c5e6ddcc484208d031104c20b5906 (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
// -*- IDL -*-
//
// $Id$

/**
 *
 *   This file is used to generate the code in
 *   IIOP*.* The command used to generate code
 *   is:
 *
 *     tao_idl \
 *        -o orig -Gp -Gd -GA -Sci
 *          -Wb,export_macro=TAO_Export \
 *          -Wb,export_include="tao/TAO_Export.h" \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL \
 *          -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL \
 *          IIOP.pidl
 *
 *   Remember to patch the generated files using diff/IIOP.diff
 *   This is from the GIOP 1.2 spec for Bi Dir IIOP.
 */

#ifndef TAO_IIOP_PIDL
#define TAO_IIOP_PIDL

// This is a OMG specified IDL. When IIOP modules start getting
// complicated we may want to have them here.
#pragma prefix "omg.org"

#if !defined (TAO_LACKS_IIOP)

module IIOP
{
  struct ListenPoint
  {
    string host;
    unsigned short _port;
  };

  typedef sequence<ListenPoint> ListenPointList;

  struct BiDirIIOPServiceContext
  {
    ListenPointList listen_points;
  };
};

#endif /* TAO_LACKS_IIOP */

#endif  /* TAO_IIOP_PIDL */