Renee
2013-09-11 17:43:49 UTC
I am writing a Java client to a CORBA server that is not thoroughly documented or well maintained; all I have are IDL files.
First, I want to compile the IDL files: my compiler is IDL-to-Java compiler (portable), version "3.2"
My question is this: When the compiler encounters method declarations with event modifier, for example,
event void channelCreate(in TimeStamp t, in string channel);
the compiler complains: "event is an undeclared type."
I'm new to CORBA but I expect 'event' is a modifier the same way 'public' is in C++. Therefore, shouldn't the IDL compiler understand 'event' or do I have to define the 'event' modifier
Thank you very much for explaining this!
First, I want to compile the IDL files: my compiler is IDL-to-Java compiler (portable), version "3.2"
My question is this: When the compiler encounters method declarations with event modifier, for example,
event void channelCreate(in TimeStamp t, in string channel);
the compiler complains: "event is an undeclared type."
I'm new to CORBA but I expect 'event' is a modifier the same way 'public' is in C++. Therefore, shouldn't the IDL compiler understand 'event' or do I have to define the 'event' modifier
Thank you very much for explaining this!