We would like to populate a display with data from another application that already uses XDR for encoding messages for transmission via UDP sockets.
We are hoping this would be possible from a UA client script, without a lot of Java programming.
We have taken a look into the source code, and our understanding is that" common.arinc661.com" is the right place for this?
There seem to be various protocol wrappers provided already. The question now is how to best go about adding a new type that is ALSO accessible from UA scripts?
The idea would be to instantiate a new UDP/XDR "channel" and then use a UA script for getting out the fields from the XDR stream. For example, to parse the lat/lon pairs of the stream and send them to the CDS.
There seems to be an AbstractProtocol wrapper already, could you add another wrapper on top of this that also exposes this for use by scripts?
Something like "ScriptableAbstractProtocol".
This would have all the power of the current implementation, but make the I/O system available to and customizable from scripting space, so that users could instantiate and parameterize scripts without having to modify the Java code or creating new plugins.
Supporting XDR seems like a good idea in general, because it is an important standard that is in wide use.