blob: 212077aff41e616d32a6011c3363b5b763c5de72 (
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
|
// -*- C++ -*-
// ================================================================
/**
* @file Messaging.h
*
* $Id$
*
* Include all the required headers to use CORBA Messaging easily.
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
// ================================================================
#ifndef TAO_MESSAGING_H
#define TAO_MESSAGING_H
#include "ace/pre.h"
#include "MessagingC.h"
// Typedef for the Reply Handler Skeleton.
// This is handcrafted not generated by the IDL compiler.
class TAO_InputCDR;
enum TAO_AMI_Reply_Status
{
TAO_AMI_REPLY_OK,
// Reply is normal.
TAO_AMI_REPLY_NOT_OK,
// Reply is not normal and no exceptions
TAO_AMI_REPLY_USER_EXCEPTION,
// An user exception was raised.
TAO_AMI_REPLY_SYSTEM_EXCEPTION
// An system exception was raised.
};
#if (TAO_HAS_AMI_CALLBACK == 1)
typedef void (*TAO_Reply_Handler_Skeleton)(
TAO_InputCDR &,
Messaging::ReplyHandler *,
CORBA::ULong reply_status,
CORBA::Environment &
);
#endif /* TAO_HAS_AMI_CALLBACK */
#include "ace/post.h"
#endif /* TAO_MESSAGING_H */
|