| |
3-2 Management der Fallgebiete, v1.0 Juni 2001 3 3,2 Das Modul CosTypedEventDomainAdmin # ifndef _ COS_TYPED_EVENT_DOMAIN_ADMIN_IDL _ # definieren Sie _ COS_TYPED_EVENT_DOMAIN_ADMIN_IDL _ // Geschriebene FallcGebietscSchnittstelle # schließen Sie "CosTypedEventComm.idl" mit ein # schließen Sie "CosTypedEventChannelAdmin.idl" mit ein # schließen Sie "CosTypedNotifyChannelAdmin.idl" mit ein # schließen Sie "CosEventDomainAdmin.idl" mit ein Modul CosTypedEventDomainAdmin { struct TypedConnection { CosEventDomainAdmin::MemberID-supplier_id; CosEventDomainAdmin::MemberID-consumer_id; CosTypedEventChannelAdmin::Key-typed_interface; CosEventDomainAdmin::NotificationStyle-notification_style; }; Schnittstelle TypedEventDomain: CosEventDomainAdmin::EventDomain { CosEventDomainAdmin::MemberID-add_typed_channel ( in der CosTypedNotifyChannelAdmin::TypedEventChannel-Führung); CosTypedNotifyChannelAdmin::TypedEventChannel-get_typed_channel ( in der CosEventDomainAdmin::MemberID-Führung) Erhöhungen (CosNotifyChannelAdmin::ChannelNotFound); // Form geschriebener Anschluß zwischen zwei Führungen CosEventDomainAdmin::ConnectionID-add_typed_connection (in TypedConnection Anschluß) Erhöhungen (CosNotifyChannelAdmin::ChannelNotFound, CosEventChannelAdmin::TypeError, CosEventDomainAdmin::AlreadyExists, CosEventDomainAdmin::CycleCreationForbidden, CosEventDomainAdmin::DiamondCreationForbidden); // Satzrückstellungsführungen für geschriebene Klienten leeres set_default_typed_consumer_channel (in der CosEventDomainAdmin::MemberID-Führung) Erhöhungen (CosNotifyChannelAdmin::ChannelNotFound); leeres set_default_typed_supplier_channel (in der CosEventDomainAdmin::MemberID-Führung) Erhöhungen (CosNotifyChannelAdmin::ChannelNotFound); // Anschluß der Klienten zum Gebiet // - Verwenden keiner spezifischen Informationen // - für geschriebene Klienten CosTypedNotifyChannelAdmin::TypedProxyPushSupplier Klient des connect_typed_push_consumer(in CosTypedEventComm::TypedPushConsumer, im CosTypedNotifyChannelAdmin::Key-uses_interface) Erhöhungen (CosTypedNotifyChannelAdminCosTypedEventChannelAdmin::NoSuchImplementation, CosEventChannelAdmin::TypeError); |  |
|
| |
|
|