Bug 2920 - Supported Interfaces are not handled correctly
Summary: Supported Interfaces are not handled correctly
Status: NEW
Alias: None
Product: CoSMIC
Classification: Unclassified
Component: Interpreters (show other bugs)
Version: 0.5.6
Hardware: All All
: P3 major
Assignee: Sumant Tambe
URL:
Depends on:
Blocks:
 
Reported: 2007-05-01 13:03 CDT by Abdul Sowayan
Modified: 2007-05-01 13:03 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abdul Sowayan 2007-05-01 13:03:27 CDT
CosMIC version: 0.5.7 (it was broken in prior releases too).

For an example that would show this, please refer to 
$CIAO_ROOT/docs/tutorials/Simple/Quoter

Broker.idl has the following definition in the example:
module Stock
{
  interface StockSubscriber {
    /// subscribe to an interested stock
    void stock_subscribe (in string stock_name)
          raises (Invalid_Stock);
    /// unsubscribe to an stock
    void stock_unsubscribe (in string stock_name)
          raises (Invalid_Stock);
  };

  /**
   * @class StockBroker
   *
   * @brief component
   */
  component StockBroker supports StockSubscriber
  {
    consumes StockName notify_in;
    uses StockQuoter read_quoter;
  };
};

When I import the example into CosMIC, notify_in and read_quoter do appear. However, the supported interface StockSubscriber does not appear at all. 

This makes difficult to work with supported interfaces. The user would have to manually edit XML files to get the desired effect or refrain from using supported interfaces all together.

Thanks,
Abdul