NAME
App::MonM::AlertGrid - App::MonM AlertGrid functions
VIRSION
Version 1.01
SYNOPSIS
use App::MonM::AlertGrid;
DESCRIPTION
App::MonM AlertGrid functions
See README
file
FUNCTIONS
- ag_init
-
my $stt = ag_init( $dbfile );
Function initialization of the file localDB
- ag_clear, ag_clean
-
my $status = ag_clear( $dbfile );
Clearing of the file localDB
- ag_prepare
-
my $xml = ag_prepare( $attrs, $table );
Function convertion summary table $table to XML. Please do not use it.
- ag_server
-
my ($stt, $err) = ag_server( $attrs, $data );
Function returns two values: status and error. Status ($stt) may be: 0 or 1 Error ($err) contains reason of errors.
- ag_client
-
my ($stt, $res, $err) = ag_client( $attrs );
Main Agent-function. Use for read data from counts. Function returns three values: status, result an error message. Status ($stt) may be: 1 or 0. Result ($res) contains XML-hash with data of the count. Error ($err) contains reason of errors.
- ag_snapshot
-
my $snapshot = ag_snapshot( $dbfile );
Function returns all fields of the $dbfile as anonymous array of hashes
SEE ALSO
AUTHOR
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>
COPYRIGHT
Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved
LICENSE
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE
file