As a side note, if a C++ internal poller is required for a platform
on which OPUS is not yet supported (to communicate with servers running
on a supported platform), an example is included on the CD at
"opus/src/rem_c++poller.cpp"
. This requires a separate
CORBA ORB and IDL compiler. Note that Java is usually a simpler choice for such
a case, due to its run-anywhere nature and its built-in support for CORBA.
/usr/local/opus
, though you can use any location:
mkdir ~/mybuild
cd ~/mybuild
cp /usr/local/opus/src/CxxPoller.cpp ~/mybuild
cp /usr/local/opus/install/c++poller.make ~/mybuild
OPUS_DIST
. Make sure this is set to the path of your
local OPUS installation.
gmake -f c++poller.make
cp c++poller /usr/local/opus/bin/[platform]/.
You have now compiled and installed the C++ application. Next, make sure the appropriate process-related files are in place.
osf_create -p quick.path -f my_osf -s _
This will create an OSF named "my_osf" and will set the status of
all its columns to "_
".
touch ~/opus_test/quick/input/my_osf_file.txt