summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/POAManager.pidl
blob: c678575ac3073e379b1ef616e241a6d89c1e7e2d (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
/**
 * @file POAManager.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source for the PortableServer module.
 *
 * tao_idl.exe \
 *     -o orig -Gp -Gd -Ge 1 -Sc -Sci -GA -I$(TAO_ROOT)
 *          -Wb,export_macro=TAO_PortableServer_Export \
 *          -Wb,export_include="portableserver_export.h" \
 *          -Wb,pre_include="ace/pre.h" \
 *          -Wb,post_include="ace/post.h" \
 *          POAManager.pidl
 */

#ifndef _PORTABLESERVER_POA_MANAGER_IDL_
#define _PORTABLESERVER_POA_MANAGER_IDL_

#pragma prefix "omg.org"

module PortableServer
{
# pragma version PortableServer 2.3

  // POAManager interface
  local interface POAManager
  {
    exception AdapterInactive {};

    enum State
    {
      HOLDING,
      ACTIVE,
      DISCARDING,
      INACTIVE
    };

    void activate ()
      raises(AdapterInactive);

    void hold_requests (in boolean wait_for_completion)
      raises(AdapterInactive);

    void discard_requests (in boolean wait_for_completion)
      raises(AdapterInactive);

    void deactivate (in boolean etherealize_objects,
                     in boolean wait_for_completion)
      raises(AdapterInactive);

    State get_state ();

    string get_id();
  };
};

#endif // _PORTABLESERVER_POA_MANAGER_IDL_