summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoints.pidl
blob: 5e156dbf281e2d2f7ab3f5ed67902d1a627945bd (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
//
// $Id$
//
// ================================================================
//
// = LIBRARY
//   TAO
//
// = FILENAME
//   IIOP_Endpoints.pidl
//
// = DESCRIPTION
//   This file contains idl definition for data structures used to
//   encapsulate data in TAO_TAG_ENDPOINTS tagged component.  This
//   TAO-specific component is used for transmission of multiple
//   endpoints per single profile.  Data structures defined here are
//   used for transmission of IIOP endpoints.  See IIOP_Profile.*
//   for more details.
//
//
//   This file was used to generate the code in
//   IIOP_EndpointsC.* The command used to generate code
//   is:
//
//     tao_idl
//         -o orig -Ge 1 -GT -GA -Sc \
//          -Wb,export_macro=TAO_Export \
//          -Wb,export_include="tao/TAO_Export.h" \
//          -Wb,pre_include="ace/pre.h" \
//          -Wb,post_include="ace/post.h" \
//          IIOP_Endpoints.pidl
//
// ================================================================

#ifndef _TAO_IIOP_ENDPOINTS_IDL_
#define _TAO_IIOP_ENDPOINTS_IDL_

module TAO
{
  // Stores information for a single IIOP endpoint.
  struct IIOP_Endpoint_Info
  {
    string host;
    short port;
    short priority;
  };

  // Stores information for a collection of IIOP endpoints.
  typedef sequence <IIOP_Endpoint_Info> IIOPEndpointSequence;
};

#endif /* _TAO_IIOP_ENDPOINTS_IDL_ */