Random Collector Plugin


This plugin adds the new collector type. It actually doesn't collect anything, but generates randomly generated values. The main purpose of this plugin is testing various aspects of RRFW, and particularly its modular Collector design.


Unpack RRFW main distribution and the plugin in some directories. From RRFW distribution directory, run

  ./configure --with-plugins=../rrfw-plugin-randomcollector-0.0.1
  make install

After RRFW installation has finished, add the following lines to your rrfw-siteconfig.pl file:

  push( @RRFW::Collector::loadModules, 'RRFW::Collector::Random' );
  push( @RRFW::Validator::loadLeafValidators, 'RRFW::Collector::Random' );

That is all, now you can use the parameters described below in your XML configuration.

genrandomcfg utility may be used to create a typical configuration for the random collector.

XML configuration parameters


Copyright (c) 2003-2004 Stanislav Sinyagin <ssinyagin@yahoo.com>