Issue 2662: CosNotifyChannelAdmin module: typed proxies not defined in ProxyType enum (notif_service-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: The CosNotifyChannelAdmin::ProxyConsumer and the CosNotifyChannelAdmin::ProxySupplier interfaces define the MyType attribute as a ProxyType. This ProxyType enum is defined as: enum ProxyType { PUSH_ANY, PULL_ANY, PUSH_STRUCTURED, PULL_STRUCTURED, PUSH_SEQUENCE, PULL_SEQUENCE }; The CosTypedNotifyChannelAdmin::TypedProxyPushConsumer and the CosTypedNotifyChannelAdmin::TypedProxyPullConsumer interfaces inherit the CosNotifyChannelAdmin::ProxyConsumer interface. Likewise, the CosTypedNotifyChannelAdmin::TypedProxyPushSupplier and the CosTypedNotifyChannelAdmin::TypedProxyPullSupplier interfaces inherit the CosNotifyChannelAdmin::ProxySupplier interface. The objects inheriting those typed interfaces have no meaningfull way to initialize the MyType attribute, therefore I think the PUSH_TYPED and PULL_TYPED values are missing to this enum. Thua, the resulting ProxyType enum should be defined as: enum ProxyType { PUSH_ANY, PULL_ANY, PUSH_STRUCTURED, PULL_STRUCTURED, PUSH_SEQUENCE, PULL_SEQUENCE, PUSH_TYPED, PULL_TYPED }; Resolution: resolved, see below Revised Text: Modified IDL definition of ProxyType in Table 3-4 and B-4. Made appropriate changes to sections 3.4.1.1 and 3.4.2.1. Actions taken: May 25, 1999: received issue November 16, 1999: closed issue Discussion: Synopsis: The ProxyConsumer and ProxySupplier interfaces defined in the CosNotifyChannelAdmin module define the MyType attribute, which is of type ProxyType. ProxyType is an enumerated type that is intended to indicate the specify type of Proxy that an instance supporting either the ProxyConsumer or ProxySupplier interfaces represents. It's possible values can indicate any of the Proxy types defined in the CosNotifyChannelAdmin module. However, the Proxy interfaces defined in the CosTypedNotifyChannelAdmin module also inherit either the ProxyConsumer or ProxySupplier interfaces, yet the ProxyType data type does not include an enumaration that can be used to represent one of the types of proxies. To resolve this problem, the following should be added as possible values to the ProxyType enum: PUSH_TYPED, PULL_TYPED. Disposition: I agree with this proposed change. VOTE: YES means to make the change recommended by the issue author. NO means to do nothing. End of Annotations:===== From: "Michael J. Greenberg" Message-Id: <199905251305.JAA24340@syl.syl.nj.nec.com> Subject: Issue - CosNotifyChannelAdmin module: typed proxies not defined in the ProxyType enum. (fwd) To: issues@omg.org Date: Tue, 25 May 1999 09:05:08 -0400 (EDT) X-Mailer: ELM [version 2.4ME+J0.42 PL39 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-UIDL: 7c72a8bc5418b0bcd75510a9742eb22a Hello, I have just noticed something that should be raised as an issue concerning the CosNotifyChannelAdmin module. The CosNotifyChannelAdmin::ProxyConsumer and the CosNotifyChannelAdmin::ProxySupplier interfaces define the MyType attribute as a ProxyType. This ProxyType enum is defined as: enum ProxyType { PUSH_ANY, PULL_ANY, PUSH_STRUCTURED, PULL_STRUCTURED, PUSH_SEQUENCE, PULL_SEQUENCE }; The CosTypedNotifyChannelAdmin::TypedProxyPushConsumer and the CosTypedNotifyChannelAdmin::TypedProxyPullConsumer interfaces inherit the CosNotifyChannelAdmin::ProxyConsumer interface. Likewise, the CosTypedNotifyChannelAdmin::TypedProxyPushSupplier and the CosTypedNotifyChannelAdmin::TypedProxyPullSupplier interfaces inherit the CosNotifyChannelAdmin::ProxySupplier interface. The objects inheriting those typed interfaces have no meaningfull way to initialize the MyType attribute, therefore I think the PUSH_TYPED and PULL_TYPED values are missing to this enum. Thua, the resulting ProxyType enum should be defined as: enum ProxyType { PUSH_ANY, PULL_ANY, PUSH_STRUCTURED, PULL_STRUCTURED, PUSH_SEQUENCE, PULL_SEQUENCE, PUSH_TYPED, PULL_TYPED }; Best regards, Patrick. -- Patrick Decat _____ Alcatel CRC \ / route de Nozay Tel: +33 1 6963 4188 \ / 91461 Marcoussis cedex Fax: +33 1 6963 1789 CRC France