caddx.pm

caddx

SYNOPSIS

NONE

DESCRIPTION

NONE

INHERITS

NONE

METHODS

udp_init

will set up the udp listener. This code used to run from BEGIN, but we need to wait until main has loaded config_parms, so it is now deferred to first time thru in poll.

read

select has reported a udp msg ready, so lets see what it is.

poll_caddx

is installed as a hook in mh so that we can keep an eye on the udp msgs w/o modifying any user code.

process_msg

will lookup the zone/partition related to the msg, and modify the object to reflect the new value reported by the caddx controller.

INI PARAMETERS

NONE

AUTHOR

UNK

SEE ALSO

NONE

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 2 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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Sensor_Zone

SYNOPSIS

NONE

DESCRIPTION

NONE

INHERITS

Generic_Item

METHODS

get_object_by_zone

Give the users an xref to find a zone if they just know the zone number.

INI PARAMETERS

NONE

AUTHOR

UNK

SEE ALSO

NONE

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 2 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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

 caddx.pm