File: LifeCycleService.idl

package info (click to toggle)
omniorb-dfsg 4.3.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,172 kB
  • sloc: cpp: 115,843; python: 24,962; ansic: 13,414; sh: 2,665; makefile: 40
file content (56 lines) | stat: -rw-r--r-- 1,729 bytes parent folder | download | duplicates (11)
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
//File: LifeCycleService.idl
// An Example LifeCycleService Module
// Note: This is only an example of the LifeCycle service,
//       and is NOT part of the LifeCycle service

#ifndef _LIFE_CYCLE_SERVICE_IDL_
#define _LIFE_CYCLE_SERVICE_IDL_

// omniORB specific pragmas to insert extra includes into the stub header.
#pragma hh #include "COS_sysdep.h"

#include <CosLifeCycle.idl> 

#pragma prefix "omg.org"

module LifeCycleService {

	typedef sequence <CosLifeCycle::NameValuePair> PolicyList;
	typedef sequence <CosLifeCycle::Key> Keys;
	typedef sequence <CosLifeCycle::NameValuePair> PropertyList; 
	typedef sequence <CosNaming::NameComponent> NameComponents;

	interface LifeCycleServiceAdmin {

		attribute PolicyList policies;

		void bind_generic_factory(
				in CosLifeCycle::GenericFactory gf,
				in CosNaming::NameComponent name,
				in Keys key_set,
				in PropertyList other_properties)
			raises (CosNaming::NamingContext::AlreadyBound, CosNaming::NamingContext::InvalidName);

		void unbind_generic_factory(
				in CosNaming::NameComponent name)
			raises (CosNaming::NamingContext::NotFound, CosNaming::NamingContext::InvalidName);

		CosLifeCycle::GenericFactory resolve_generic_factory(
				in CosNaming::NameComponent name)
			raises (CosNaming::NamingContext::NotFound, CosNaming::NamingContext::InvalidName);

		NameComponents list_generic_factories();

		boolean match_service (in CosLifeCycle::GenericFactory f);

		string get_hint();

		void get_link_properties(
				in CosNaming::NameComponent name,
				out Keys key_set,
				out PropertyList other_properties)
			raises (CosNaming::NamingContext::NotFound, CosNaming::NamingContext::InvalidName);
	};

};
#endif /* ifndef _LIFE_CYCLE_SERVICE_IDL_ */