File: poa.idl

package info (click to toggle)
omniorb 1%3A3.0.4.1-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 13,024 kB
  • ctags: 19,172
  • sloc: cpp: 80,906; python: 17,895; ansic: 17,630; yacc: 3,441; lex: 1,306; sh: 1,191; xml: 871; perl: 383; makefile: 108; tcl: 18
file content (76 lines) | stat: -rw-r--r-- 1,930 bytes parent folder | download | duplicates (7)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

#ifndef __PORTABLESERVER_POA_IDL__
#define __PORTABLESERVER_POA_IDL__


#include <poa_include.idl>


#pragma prefix "omg.org"


//////////////////////////////////////////////////////////////////////
module PortableServer {
//////////////////////////////////////////////////////////////////////

  #pragma version PortableServer 2.3

  exception ForwardRequest { Object forward_reference; };
  #pragma version ForwardRequest 2.3

  // **************************************************
  //
  // AdapterActivator interface
  //
  // **************************************************

  interface AdapterActivator {

    boolean unknown_adapter(in POA parent, in string name);
  };
  #pragma version AdapterActivator 2.3

  // **************************************************
  //
  // ServantManager interface
  //
  // **************************************************

  interface ServantManager {};
  #pragma version ServantManager 2.3

  interface ServantActivator : ServantManager {

    Servant incarnate(in ObjectId oid, in POA adapter)
      raises ( ForwardRequest );

    void etherealize(in ObjectId oid, in POA adapter,
		     in Servant serv, in boolean cleanup_in_progress,
		     in boolean remaining_activations );
  };
  #pragma version ServantActivator 2.3

  interface ServantLocator : ServantManager {

    //??native 	Cookie;
    typedef short Cookie;

    Servant preinvoke(in ObjectId oid, in POA adapter,
		      in CORBA::Identifier operation,
		      out Cookie the_cookie )
      raises ( ForwardRequest );

    void postinvoke(in ObjectId oid, in POA adapter,
		    in CORBA::Identifier operation,
		    in Cookie the_cookie, in Servant the_servant);
  };
  #pragma version ServantLocator 2.3

//////////////////////////////////////////////////////////////////////
};
//////////////////////////////////////////////////////////////////////

#pragma prefix ""


#endif  // __PORTABLESERVER_POA_IDL__