| Line | |
|---|
| 1 | // File: IIOP.idl
|
|---|
| 2 | // From CORBA 3.0: Chapter 15, General Inter-ORB Protocol
|
|---|
| 3 |
|
|---|
| 4 | #ifndef _IIOP_IDL_
|
|---|
| 5 | #define _IIOP_IDL_
|
|---|
| 6 |
|
|---|
| 7 | #ifdef _PRE_3_0_COMPILER_
|
|---|
| 8 | #pragma prefix "omg.org"
|
|---|
| 9 | #include <IOP.idl>
|
|---|
| 10 | #else
|
|---|
| 11 | import ::IOP;
|
|---|
| 12 | #endif // _PRE_3_0_COMPILER_
|
|---|
| 13 |
|
|---|
| 14 | module IIOP { // IDL extended for version 1.1 and 1.2
|
|---|
| 15 |
|
|---|
| 16 | #ifndef _PRE_3_0_COMPILER_
|
|---|
| 17 | typeprefix IIOP "omg.org";
|
|---|
| 18 | #endif // _PRE_3_0_COMPILER_
|
|---|
| 19 |
|
|---|
| 20 | struct Version {
|
|---|
| 21 | octet major;
|
|---|
| 22 | octet minor;
|
|---|
| 23 | };
|
|---|
| 24 | struct ProfileBody_1_0 {// renamed from ProfileBody
|
|---|
| 25 | Version iiop_version;
|
|---|
| 26 | string host;
|
|---|
| 27 | unsigned short port;
|
|---|
| 28 | sequence <octet> object_key;
|
|---|
| 29 | };
|
|---|
| 30 | struct ProfileBody_1_1 {// also used for 1.2
|
|---|
| 31 | Version iiop_version;
|
|---|
| 32 | string host;
|
|---|
| 33 | unsigned short port;
|
|---|
| 34 | sequence <octet> object_key;
|
|---|
| 35 | // Added in 1.1 unchanged for 1.2
|
|---|
| 36 | sequence <IOP::TaggedComponent> components;
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | // BiDirectional IIOP
|
|---|
| 40 |
|
|---|
| 41 | struct ListenPoint {
|
|---|
| 42 | string host;
|
|---|
| 43 | unsigned short port;
|
|---|
| 44 | };
|
|---|
| 45 | typedef sequence<ListenPoint> ListenPointList;
|
|---|
| 46 | struct BiDirIIOPServiceContext {// BI_DIR_IIOP Service Context
|
|---|
| 47 | ListenPointList listen_points;
|
|---|
| 48 | };
|
|---|
| 49 | };
|
|---|
| 50 | #endif // _IIOP_IDL_
|
|---|
| 51 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.