00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _PORTABLESERVER_POA_MANAGER_IDL_
00010 #define _PORTABLESERVER_POA_MANAGER_IDL_
00011
00012 #pragma prefix "omg.org"
00013
00014 module PortableServer
00015 {
00016 # pragma version PortableServer 2.3
00017
00018
00019 local interface POAManager
00020 {
00021 exception AdapterInactive {};
00022
00023 enum State
00024 {
00025 HOLDING,
00026 ACTIVE,
00027 DISCARDING,
00028 INACTIVE
00029 };
00030
00031 void activate ()
00032 raises(AdapterInactive);
00033
00034 #if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
00035 void hold_requests (in boolean wait_for_completion)
00036 raises(AdapterInactive);
00037
00038 void discard_requests (in boolean wait_for_completion)
00039 raises(AdapterInactive);
00040
00041 void deactivate (in boolean etherealize_objects,
00042 in boolean wait_for_completion)
00043 raises(AdapterInactive);
00044 #endif
00045
00046 State get_state ();
00047
00048 string get_id();
00049 };
00050 };
00051
00052 #endif // _PORTABLESERVER_POA_MANAGER_IDL_