![]() |
License / Documentation home / Help and feedback | ![]() |
This example can be found in the distribution in contrib/MITRE/examples/binary_data.
data_binary.c: creates a data encoding and decoding for a simple structure and passes it through the Hub using binary objects.
mgal_data_binary.c: creates a data encoding and decoding for two simply structures and passes them through the Hub using the MITRE facility for manipulating binary objects.
UnixIn addition, on Unix, we generate the following scripts.
% cd <root_of_GC>
% ./contrib/MITRE/tools/bin/process_monitor contrib/MITRE/examples/binary_data/binary.config
Windows
C:\> set GC_HOME=<root_of_GC>
C:\> python %GC_HOME%\contrib\MITRE\tools\src\process_monitor\process_monitor.py %GC_HOME%\contrib\MITRE\examples\binary_data\binary.config
binary.csh: runs the data_binary server and the Hub, using the binary.pgm program file.
mgal_binary.csh: runs the mgal_data_binary server and the Hub, using the binary.pgm. program file.
The acl/ subdirectory contains an Allegro Common Lisp version of the audio_binary server. This server is completely interchangeable with the C version. In order to play with it, you can substitute it into the script.
The java/ subdirectory contains Java versions of the testaudio and echo servers. These are interchangeable with the C versions. In order to play with them, you can substitute them into the scripts. However since they use /dev/audio to play sounds they should only work on sparc-solaris machines.
![]() |
License / Documentation home / Help and feedback | ![]() |