RIV::App module synopsis

The RIV::App module synopsis shows how to make calls to the two constructors that this module provides.

The comments provided in the synopsis serve as a quick reference as to the purpose of the constructors. The reference (man) page for the constructors provides the details.

# Load the RIV::App module.
use Riv::App;
#
   # Call the first form of the RIV::App constructor, passing to $domain the
   # name of the Network Manager domain. The constructor returns
   # a RIV::App object to $rivApp.
$rivApp = new RIV::App($domain, $progname, $doHeartBeat);
#
   # Call the second form of the RIV::App constructor, passing as the
   # first parameter a RIV::Param object that was returned
   # in a previous call to the RIV::Param constructor. The constructor
   # returns a RIV::App object to $rivApp.
$rivApp = new RIV::App(RIV::Param, $progname, $doHeartBeat);