|
From: <nar...@te...> - 2001-11-21 09:23:08
|
Dear Sam, We, in the MUST project decided to use Galaxy as our intermodule communication platform. Thanks very much for making such a valuble tool available publicly. Basically, our development language is C/C++. However, we would like to use Java to develop some of the modules. We found that writing a Java based server is somewhat different to doing it using C. Especially, we are concerned of the signature definition routines, initSignatures, SigEntry, Signature and addSignature. As I have understood it, one has to define the exact nature of input and output frames for each dispatch function of the server. However in our case we have two problems regarding this, 1) Nature of the input/output frames are not known at the compile time. For example we have frame formats such as :no_of_parameters N :parameter1 some_thing :parameter2 some_other_thing . . . :parameterN some_thing_completely_different The value of N is decided in the runtime. 2) Several different types of output (or reply) frames can be generated by a dispatch function, depending on the information contained in the incoming frame. (i.e. there is not a unique ouput frame for a given dispatch function, as it is required by initSignature function) So my questions are: 1) Is our understanding above correct? 2) Is initSignature absolutely necessary (No mention in the Java bindings chapter of the manual)? 3) Is there any solution/work-around to the problems above (other than changing the Frame formats or operational logic of the dispatch functions)? I very much appreciate any clue ! Thanks in advance Narada. ############################################## Narada Warakagoda Research Engineer in Speech Technology Telenor Research and Development Post box 83 2027 Kjeller Norway Tel: +47 63 84 87 08 Faks: +47 63 81 00 76 E-post: nar...@te... http://www.fou.telenor.no/fou ############################################ |