|
From: Bruce W. <wi...@ch...> - 2005-07-11 01:59:22
|
Gregg Liming wrote:
> See attached revised xAP_Items.pm. It addresses the following:
> 1) changes source header var to use hyphen '-' rather than period '.' as
> first delimiter (your specific problem)
> 2) checks existence of xap_send and xpl_send ports prior to attempting
> any send action. This should reduce the many but harmless error
> messages if either xap or xpl is disabled
> 3) checks existence of xap_send and xpl_send ports prior to attempting
> any check for data (receive). This would otherwise have produced an
> error (your specific problem)
> 4) resolved an error associated with tracking a remote xpl item's state
> (a rather obscure error that apparently didn't affect anyone)
> 5) added support to have finer control over xap header vars (necessary
> to support upcoming xAP BSC)
> 6) added support for xAP UID generation to support xAP BSC endpoints
Thanks for the update Gregg! There was a minor problem with the the
send_heartbeat sub. The 2nd 2 lines here were missing needed .=
instead of =
$msg = "xap-hbeat\n{\nv=12\nhop=1\n";
$msg .= "uid=" . &_get_xap_base_uid() . "00" . "\n";
$msg .= "class=xap-hbeat.alive\n";
Bruce
|