btc-ag / service-idl

Xtext-based Service IDL (Interface Definition Language) and Code Generators for Protobuf, C++, Java and .NET
Eclipse Public License 2.0
8 stars 8 forks source link

Support anonymous events in Java generator #127

Open sigiesec opened 6 years ago

sigiesec commented 6 years ago

@huttenlocher When trying to make this work with ServiceComm.Java 0.5 I found that this was probably never implemented completely. Can you confirm this?

huttenlocher commented 6 years ago

Yes, this is most probably true. I do not remember all the details, but in the early phase of the generator development we observed, that not all functionality related to eventing mechanism is supported to the same maturity level in all 3 involved target technology (especially Java SC was quite primitive at that point of time). So we postponed it for later, and as far as I know it was never actually done right in any language (maybe C++ state is the best, but not sure). I also never tested it systematically, since there was not much real need for this so far (some project sources which needed this and were generated with the early generator state have been edited manually due to some more missing issues like session-based transmission).