summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging/Messaging.pidl
blob: 939598a9fc3d5cb4c3693bb65631ba426522e649 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// -*- IDL -*-

//=============================================================================
/**
 *  @file   Messaging.pidl
 *
 *  $Id$
 *
 * This file was used to generate the code in Messaging{C,S,S_T}.{h,i,cpp}
 *
 * The command used to generate code from this file is:
 *
 *   tao_idl
 *        -o orig -Gp -Gd -GT -Ge 1
 *        -Wb,export_macro=TAO_Messaging_Export
 *        -Wb,export_include=messaging_export.h
 *        -Wb,pre_include="ace/pre.h"
 *        -Wb,post_include="ace/post.h" -I$(TAO_ROOT)
 *        Messaging.pidl
 *
 * after the file is generated a patch must be applied:
 *
 *   cp orig/Messaging{C,S,S_T}.{h,i,cpp} .
 *   patch < diffs/Messaging.diff
 *
 * The patch eliminates cycles in the include dependencies.
 *
 * Note: to update the patch file after re-generating the code use:
 *
 *   for i in Messaging{C,S,S_T}.{h,i,cpp}; do
 *     diff -uBbw orig/$i $i;
 *   done > diffs/Messaging.diff
 */
//=============================================================================

#ifndef TAO_MESSAGING_PIDL
#define TAO_MESSAGING_PIDL

#include "tao/Pollable.pidl"
#include "tao/Messaging/Messaging_SyncScope_Policy.pidl"
#include "tao/Messaging/Messaging_RT_Policy.pidl"
#include "tao/Messaging/Messaging_No_Impl.pidl"
#include "tao/OctetSeq.pidl"

#pragma prefix "omg.org"

module Messaging
{
  //
  // Exception Delivery in the Callback Model
  //
#if defined(NO_VALUE)
  struct ExceptionHolder {
    boolean         is_system_exception;
    boolean         byte_order;
    CORBA::OctetSeq marshaled_exception;
  };
#else
  valuetype ExceptionHolder {
    public boolean         is_system_exception;
    public boolean         byte_order;
    public CORBA::OctetSeq marshaled_exception;
  };
#endif

  //
  // Base interface for the Callback model
  //

  interface ReplyHandler { };
};

#endif /* TAO_MESSAGING_PIDL */