Version 2 (modified by djay, 15 years ago) |
---|
ZooKernel description page
On this page you will find everything you need to know about the ZooKernel.
Current status
Acutaly, you could compile and use the code available on the svn server on your own GNU / LINUX platform this way :
Getting the source code
To get the source code and compile on your platform, use the following command :
cd zoo/trunk/
svn checkout svn+ssh://dev.cartography.st/mnt/data3/zoo-project/trunk/zoo-kernel zoo-kernel
Compiling the source code
First of all, you'll need to edit the Makefile and uncomment "-DLINUX_FREE_ISSUE" on the first line, then use the following commands :
cd zoo-kernel
make
make demo_service.zo
Now, you get the ZooKernel and two "service providers" : demo_service.zo (C++) and test_service.py (Python).
Using the code
To run request to ZooKernel, use the following from your command line :
./service_loader ./ test_service.zo GetCapabilities ./service_loader ./Buffer.zcfg test_service.zo DescribeProcess ./service_loader ./Buffer.zcfg ./demo_service.zo Execute helloworld ./service_loader ./Buffer.zcfg ./demo_service.zo Execute printAgrument 1 2 ./service_loader ./Buffer.zcfg ./demo_service.zo Execute printAgrument 1 2 bg ./service_loader ./Distance.zcfg test_service Execute helloworld
Finally you've runed two services from two services provider, the same way.