[ <- Previous Page ] | [ ^ Table Of Contents ^ ] | [ Next Page -> ] |
This chapter documents the neccessary steps for establishing a data delivery program.
A sample C++ program zclient1 is included with the zWebit distribution that can be used as a client based data delivery program or as a model for new program development.
Data could be delivered to one of several types of destinations:
interface names can be any unique name from one to twelve bytes in length. There is one reserved name, NEXT. Try to assign meaningful names to each interfaces, such as TOLAB or TORAD.
The included client delivery program utilizes the following files:
Item | Description |
---|---|
zclient1.pro | Profile of runtime values |
loadprofile.c | File containing logic for processing profile entries |
zclient1.cpp | Delivery program source |
If you need to create a new program, the following pseudocode describes the steps in the program
New programs need to be set up as belonging to user zwebit, group zwebit with the setuid bit set.
Description | Command |
---|---|
change directory | cd webit/bin |
copy template | cp template1 myinterfacename.pro |
edit profile | edit myinterfacename.pro |
Each interface requires a script file in the webit/bin directory.
Update the following variables in the new script file
Using the web based interface, for the appropriate test or prod system,
For a test system interface, create a new configuration file in directory webit/test/config. For a prod system interface, create a new configuration file in webit/prod/config.
This is the same file name that was set in the script file in step 3 field PROFNAME.
If you are using the zclient1 program, you can use file webit/test/config/zclient1.pro as a starting point. If you create a new program, then set the values you need in the new profile.
[ <- Previous Page ] | [ ^ Table Of Contents ^ ] | [ ^ Top Of Page ^ ] | [ Next Page -> ] |
Visit the GNU home page.
FSF & GNU inquiries & questions to
gnu@gnu.org.
Comments on these web pages to
info@zhsac.com.
Copyright (C) 2003 HealthCare Systems and Consulting
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.
Last updated: 07/21/2003