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
|
#ifndef _COS_TYPED_NOTIFICATION_IDL_
#define _COS_TYPED_NOTIFICATION_IDL_
#pragma prefix "omg.org"
#include<CosNotifyChannelAdmin.idl>
#include<CosTypedEvent.idl>
#include<CosNotification.idl>
module CosTypedNotifyComm {
interface TypedPushConsumer : CosTypedEventComm::TypedPushConsumer, CosNotifyComm::NotifyPublish { }; // TypedPushConsumer
interface TypedPullSupplier : CosTypedEventComm::TypedPullSupplier, CosNotifyComm::NotifySubscribe { }; // TypedPullSupplier
}; // CosTypedNotifyComm
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 /* ifndef _COS_TYPED_NOTIFICATION_IDL_ */
|