Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-998

Compilation error for generated client initializer due to generated eventAdaptor not implementing methods in super intf of EventSet intf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0.2
    • Controls
    • None

    Description

      Have the following control interface and extension definitions:
      @ControlInterface interface BaseControl {
      @EventSet interface BaseCallback

      { void base_callback(); }

      }

      @ControlExtension interface DerivedControl {
      @EventSet interface DerivedCallback extends BaseCallback

      { void derived_callback(); }

      }

      Generated event adapter class in the client initializer using the DerivedControl:
      public static class ControlClientDerivedControlEventAdaptor
      implements DerivedControl.DerivedCallback,
      EventAdaptor, java.io.Serializable
      {
      processes.parent2SBC _client;

      public ControlClientDerivedControlEventAdaptor(processes.parent2SBC client)

      { _client = client; }

      public Object getClient()

      { return _client; }

      public void derived_callback()

      { _client.derived_callback_clientResponse(); }

      }

      Get a compilation error for the client initalizer as the generated ControlClientDerivedControlEventAdaptor does not implement the callback super interface method base_callback.

      Is there a workaround?
      Thanks
      Pradeep Bollineni

      Attachments

        Activity

          People

            grunlowen matt c
            pbollineni Pradeep Bollineni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: