~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/tao/Invocation_Utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- C++ -*-
2
 
 
3
 
//=============================================================================
4
 
/**
5
 
 *  @file    Invocation_Utils.h
6
 
 *
7
 
 *  Invocation_Utils.h,v 1.3 2003/12/19 11:10:15 jwillemsen Exp
8
 
 *
9
 
 *
10
 
 *  @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
11
 
 */
12
 
//=============================================================================
13
 
 
14
 
#ifndef TAO_INVOCATION_UTILS_H
15
 
#define TAO_INVOCATION_UTILS_H
16
 
#include /**/ "ace/pre.h"
17
 
 
18
 
#include "ace/config-all.h"
19
 
 
20
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
21
 
# pragma once
22
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
23
 
 
24
 
namespace TAO
25
 
{
26
 
  enum Invocation_Status
27
 
    {
28
 
      /// Initial state of the FSM in the invocation class.
29
 
      TAO_INVOKE_START = 0,
30
 
      /// The request must be restarted, a temporary failure has
31
 
      /// occured.
32
 
      TAO_INVOKE_RESTART,
33
 
      /// invoke() call successful. Final state of the FSM.
34
 
      TAO_INVOKE_SUCCESS,
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.
42
 
      TAO_INVOKE_FAILURE
43
 
    };
44
 
 
45
 
  /// Enums for invocation types
46
 
  enum Invocation_Type {
47
 
    /// A simple oneway invocation
48
 
    TAO_ONEWAY_INVOCATION,
49
 
    /// A simple twoway invocation
50
 
    TAO_TWOWAY_INVOCATION
51
 
  };
52
 
 
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
58
 
    /// replies.
59
 
    TAO_ASYNCHRONOUS_CALLBACK_INVOCATION,
60
 
    /// Asynchronous twoway with poller model for collecting the
61
 
    /// replies.
62
 
    /// @note This is not supported in TAO now
63
 
    TAO_ASYNCHRONOUS_POLLER_INVOCATION,
64
 
    /// Types of DII
65
 
    TAO_DII_INVOCATION,
66
 
    TAO_DII_DEFERRED_INVOCATION
67
 
  };
68
 
}
69
 
 
70
 
#include /**/ "ace/post.h"
71
 
#endif /* TAO_INVOCATION_UTILS_H */