- hbit_status: function () {
- if (this.watchdog_hdl)
- w_stat = "g";
- else
- w_stat = "r";
-
- if (this.transp.ctx_new_is_set() &&
- this.transp.ctx_new_curlen_get() > 0) {
- if (this.keepalives_equal == 0) {
- s_stat = "g";
- }
- else if (this.keepalives_equal < this.keepalives_eq_max) {
- s_stat = "y";
- }
- else {
- s_stat = "r";
- }
- }
- else {
- s_stat = "r";
- }
-
- if (this.s_stat_old != s_stat ||
- this.w_stat_old != w_stat)
- this.hbit(s_stat, w_stat);
- this.s_stat_old = s_stat;
- this.w_stat_old = w_stat;
- },
-