if ( alarm == _latency_alarm )
if ( alarm == _delay_alarm ) { logDetail( "Handling delay alarm expiration for: " + _asset_id );  handleBeliefTrigger (  new PublishDelayTimeTrigger (  _asset_id, alarm.getExpirationTime() ));  }  else if ( alarm == _latency_alarm )
    public void handleAlarmExpired( Alarm alarm )            throws BelievabilityException    {        // FIXME: Does this method need to be synchronized?  Is is        // possible that two alarms will expire simultaneously?        //        if ( alarm == _latency_alarm )        {            logDetail( "Handling latency alarm expiration for: "                       + _asset_id );            handleBeliefTrigger                    (  new SensorLatencyTimeTrigger                       (  _asset_id, alarm.getExpirationTime() ));        } // if latency alarm                else if ( alarm == _publish_alarm )        {            logDetail( "Handling publish alarm expiration for: "                       + _asset_id );            handleBeliefTrigger                    (  new PublishIntervalTimeTrigger                       (  _asset_id, alarm.getExpirationTime() ));        } // if publish alarm        else        {            logDebug( "Unknown alarm expiration: "                       + alarm.getClass().getName() + " for "                      + _asset_id );        }    } // method handleAlarmExpired