File: CosTypedNotifyChannelAdmin.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 (170 lines) | stat: -rw-r--r-- 5,469 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
//File: CosTypedNotifyChannelAdmin.idl
//Part of the Notification Service

#ifndef _COS_TYPED_NOTIFY_CHANNEL_ADMIN_IDL_
#define _COS_TYPED_NOTIFY_CHANNEL_ADMIN_IDL_

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

#include <CosNotifyChannelAdmin.idl>
#include <CosTypedNotifyComm.idl>
#include <CosTypedEventChannelAdmin.idl>

#pragma prefix "omg.org"

module CosTypedNotifyChannelAdmin {

	// Forward declaration
	interface TypedEventChannelFactory;

	typedef string Key;

	interface TypedProxyPushConsumer : 
			CosNotifyChannelAdmin::ProxyConsumer, 
			CosTypedNotifyComm::TypedPushConsumer {

		void connect_typed_push_supplier (
				in CosEventComm::PushSupplier push_supplier )
			raises ( CosEventChannelAdmin::AlreadyConnected );

	}; // TypedProxyPushConsumer

	interface TypedProxyPullSupplier : 
			CosNotifyChannelAdmin::ProxySupplier,
			CosTypedNotifyComm::TypedPullSupplier {

		void connect_typed_pull_consumer (
				in CosEventComm::PullConsumer pull_consumer )
			raises ( CosEventChannelAdmin::AlreadyConnected );

	}; // TypedProxyPullSupplier

	interface TypedProxyPullConsumer : 
			CosNotifyChannelAdmin::ProxyConsumer,
			CosNotifyComm::PullConsumer {

		void connect_typed_pull_supplier (
			in CosTypedEventComm::TypedPullSupplier pull_supplier)
			raises ( CosEventChannelAdmin::AlreadyConnected,
					CosEventChannelAdmin::TypeError );

		void suspend_connection()
		raises (CosNotifyChannelAdmin::ConnectionAlreadyInactive,
					CosNotifyChannelAdmin::NotConnected);

		void resume_connection()
			raises (CosNotifyChannelAdmin::ConnectionAlreadyActive,
					CosNotifyChannelAdmin::NotConnected);

	}; // TypedProxyPullConsumer

	interface TypedProxyPushSupplier : 
			CosNotifyChannelAdmin::ProxySupplier,
			CosNotifyComm::PushSupplier {

		void connect_typed_push_consumer (
			in CosTypedEventComm::TypedPushConsumer push_consumer)
			raises ( CosEventChannelAdmin::AlreadyConnected,
					CosEventChannelAdmin::TypeError );

		void suspend_connection()
		    raises (CosNotifyChannelAdmin::ConnectionAlreadyInactive,
					CosNotifyChannelAdmin::NotConnected);

		void resume_connection()
			raises (CosNotifyChannelAdmin::ConnectionAlreadyActive,
					CosNotifyChannelAdmin::NotConnected);

	}; // TypedProxyPushSupplier

	interface TypedConsumerAdmin : 
			CosNotifyChannelAdmin::ConsumerAdmin,
			CosTypedEventChannelAdmin::TypedConsumerAdmin {

	 TypedProxyPullSupplier obtain_typed_notification_pull_supplier(
				in Key supported_interface,
				out CosNotifyChannelAdmin::ProxyID proxy_id )
		raises( CosTypedEventChannelAdmin::InterfaceNotSupported,
				CosNotifyChannelAdmin::AdminLimitExceeded );

	 TypedProxyPushSupplier obtain_typed_notification_push_supplier( 
				in Key uses_interface,
				out CosNotifyChannelAdmin::ProxyID proxy_id )
		raises( CosTypedEventChannelAdmin::NoSuchImplementation,
				CosNotifyChannelAdmin::AdminLimitExceeded );

	}; // TypedConsumerAdmin

	interface TypedSupplierAdmin : 
			CosNotifyChannelAdmin::SupplierAdmin,
			CosTypedEventChannelAdmin::TypedSupplierAdmin {

	 TypedProxyPushConsumer obtain_typed_notification_push_consumer( 
				in Key supported_interface,
				out CosNotifyChannelAdmin::ProxyID proxy_id )
		raises( CosTypedEventChannelAdmin::InterfaceNotSupported,
				CosNotifyChannelAdmin::AdminLimitExceeded );

	 TypedProxyPullConsumer obtain_typed_notification_pull_consumer(
				in Key uses_interface,
				out CosNotifyChannelAdmin::ProxyID proxy_id )
		raises( CosTypedEventChannelAdmin::NoSuchImplementation,
				CosNotifyChannelAdmin::AdminLimitExceeded );

	}; // TypedSupplierAdmin

	interface TypedEventChannel : 
			CosNotification::QoSAdmin,
			CosNotification::AdminPropertiesAdmin,
			CosTypedEventChannelAdmin::TypedEventChannel {

		readonly attribute TypedEventChannelFactory MyFactory;

		readonly attribute TypedConsumerAdmin default_consumer_admin;
		readonly attribute TypedSupplierAdmin default_supplier_admin;

		readonly attribute CosNotifyFilter::FilterFactory
							default_filter_factory;

		TypedConsumerAdmin new_for_typed_notification_consumers( 
			in CosNotifyChannelAdmin::InterFilterGroupOperator op,
				out CosNotifyChannelAdmin::AdminID id );

		TypedSupplierAdmin new_for_typed_notification_suppliers(
			in CosNotifyChannelAdmin::InterFilterGroupOperator op,
				out CosNotifyChannelAdmin::AdminID id );

		TypedConsumerAdmin get_consumeradmin (
				in CosNotifyChannelAdmin::AdminID id )
			raises ( CosNotifyChannelAdmin::AdminNotFound );

		TypedSupplierAdmin get_supplieradmin (
				in CosNotifyChannelAdmin::AdminID id )
			raises ( CosNotifyChannelAdmin::AdminNotFound );

		CosNotifyChannelAdmin::AdminIDSeq get_all_consumeradmins();
		CosNotifyChannelAdmin::AdminIDSeq get_all_supplieradmins();

	}; // TypedEventChannel

	interface TypedEventChannelFactory {

		TypedEventChannel create_typed_channel (
			in CosNotification::QoSProperties initial_QoS,
			in CosNotification::AdminProperties initial_admin,
			out CosNotifyChannelAdmin::ChannelID id)
			raises( CosNotification::UnsupportedQoS,
					CosNotification::UnsupportedAdmin );

		CosNotifyChannelAdmin::ChannelIDSeq get_all_typed_channels();

		TypedEventChannel get_typed_event_channel (
				in CosNotifyChannelAdmin::ChannelID id )
			raises ( CosNotifyChannelAdmin::ChannelNotFound );

	}; // TypedEventChannelFactory

}; // CosTypedNotifyChannelAdmin

#endif /* _COS_TYPED_NOTIFY_CHANNEL_ADMIN_IDL_ */