summaryrefslogtreecommitdiff
path: root/tao/IIOP_Endpoints.pidl
blob: 9c17648b363ad1dc7cbae14dfd86d8d98ba142e7 (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
//
// $Id$

/**
 * 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 is used to generate the code in
 * IIOP_EndpointsC.* The command used to generate code
 * is:
 *
 * tao_idl
 *          -o orig -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" \
 *          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_ */