caddx.pm |
NONE
NONE
NONE
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.
NONE
UNK
NONE
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.
NONE
NONE
Generic_Item
get_object_by_zone
Give the users an xref to find a zone if they just know the zone number.
NONE
UNK
NONE
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 |