3
//=============================================================================
5
* @file Invocation_Utils.h
7
* Invocation_Utils.h,v 1.3 2003/12/19 11:10:15 jwillemsen Exp
10
* @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
12
//=============================================================================
14
#ifndef TAO_INVOCATION_UTILS_H
15
#define TAO_INVOCATION_UTILS_H
16
#include /**/ "ace/pre.h"
18
#include "ace/config-all.h"
20
#if !defined (ACE_LACKS_PRAGMA_ONCE)
22
#endif /* ACE_LACKS_PRAGMA_ONCE */
26
enum Invocation_Status
28
/// Initial state of the FSM in the invocation class.
30
/// The request must be restarted, a temporary failure has
33
/// invoke() call successful. Final state of the FSM.
35
/// Received a user exception from the remote object, and this
36
/// is one of the final states.
37
TAO_INVOKE_USER_EXCEPTION,
38
/// Received a system exception from the remote object or the
39
/// PI and it is one of the final states
40
TAO_INVOKE_SYSTEM_EXCEPTION,
41
/// Invocation failed. It is a final state.
45
/// Enums for invocation types
46
enum Invocation_Type {
47
/// A simple oneway invocation
48
TAO_ONEWAY_INVOCATION,
49
/// A simple twoway invocation
53
/// Enum for invocation modes
54
enum Invocation_Mode {
55
/// Standard synchronous twoway
56
TAO_SYNCHRONOUS_INVOCATION,
57
/// Asynchronous twoway with callback model for collecting the
59
TAO_ASYNCHRONOUS_CALLBACK_INVOCATION,
60
/// Asynchronous twoway with poller model for collecting the
62
/// @note This is not supported in TAO now
63
TAO_ASYNCHRONOUS_POLLER_INVOCATION,
66
TAO_DII_DEFERRED_INVOCATION
70
#include /**/ "ace/post.h"
71
#endif /* TAO_INVOCATION_UTILS_H */