From: Gregg L. <gr...@li...> - 2005-07-11 03:05:56
|
Bruce Winter wrote: > 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"; > Yikes! Good catch, Bruce. FWIW--that was the area that I was moding for xAP BSC:--so any xPL users would be unaffected. |