Issue 10497: CORBA IDL definition of Port::connect (rtc-ftf) Source: AIST (Dr. Noriaki Ando, n-ando@aist.go.jp) Nature: Uncategorized Issue Severity: Summary: ource: AIST (Noriaki Ando, [[MailTo(n-ando AT SPAMFREE aist DOT go DOT jp)]]) Severity: Minor Disposition: Resolution Proposed Summary The Port interface is defined as follows, interface Port : Service { PortProfile get_port_profile(); ConnectorProfileList get_connector_profiles(); ConnectorProfile get_connector_profile(in UniqueIdentifier connector_id); ReturnCode_t connect(in ConnectorProfile connector_profile); ReturnCode_t disconnect(in UniqueIdentifier connector_id); ReturnCode_t disconnect_all(); }; The argument of Port::connect(in ConnectorProfile) is defined as in argument. Because of it, Ports cannot exchange connection information via ConnectorProfile. To exchange connection information between Ports, ConnectorProfile argument should be inout. interface Port : Service { ReturnCode_t connect(inout ConnectorProfile connector_profile); }; -- Noriaki Ando, 2006/12/4 Discussion Above mentioned issue would depend on Port'c connection sequence. -- Noriaki Ando, 2006/12/4 Resolution Revised Text Resolution: A resolution for this issue can be combined with the resolution of issue 10488. Revised Text: Actions taken: December 5, 2006: received issue January 15, 2008: closed issue Discussion: End of Annotations:===== MG issue 10497: CORBA IDL definition of Port::connect Source: AIST (Noriaki Ando, [[MailTo(n-ando AT SPAMFREE aist DOT go DOT jp)]]) Severity: Minor Disposition: Resolution Proposed Summary The Port interface is defined as follows, interface Port : Service { PortProfile get_port_profile(); ConnectorProfileList get_connector_profiles(); ConnectorProfile get_connector_profile(in UniqueIdentifier connector_id); ReturnCode_t connect(in ConnectorProfile connector_profile); ReturnCode_t disconnect(in UniqueIdentifier connector_id); ReturnCode_t disconnect_all(); }; The argument of Port::connect(in ConnectorProfile) is defined as in argument. Because of it, Ports cannot exchange connection information via ConnectorProfile. To exchange connection information between Ports, ConnectorProfile argument should be inout. interface Port : Service { ReturnCode_t connect(inout ConnectorProfile connector_profile); }; -- Noriaki Ando, 2006/12/4 Discussion Above mentioned issue would depend on Port'c connection sequence. -- Noriaki Ando, 2006/12/4 Resolution Revised Text