src/app/dvb/streamer/station.cpp
void Station::setFailed() throw()
{
    try
    {
        // `klk_app_dvb_failed_station_add` (
        //IN station_uuid VARCHAR(40),
        //IN host_uuid VARCHAR(40)
        db::DB db(m_factory);
        db.connect();
        db::Parameters params;
        params.add("@station", getUUID());
        params.add("@host", db.getHostUUID());
        db.callSimple("klk_app_dvb_failed_station_add", params);
    }
    catch(...)
    {
        klk_log(KLKLOG_ERROR, "Exception in Station::setFailed()");
    }
}
// Sets the station as failed to stream
Sets the station as failed to stream
Sets the station as failed to stream
void Station::setFailed() throw()
{
    try
    {
        db::DB db(m_factory);
        db.connect();
        db::Parameters params;
        params.add("@station", getUUID());
        params.add("@host", db.getHostUUID());
        db.callSimple("klk_app_dvb_failed_station_add", params);
    }
    catch(...)
    {
        klk_log(KLKLOG_ERROR, "Exception in Station::setFailed()");
    }
}
void Station :: setFailed ( ) throw ( ) { try { db :: DB db ( m_factory ) ; db . connect ( ) ; db :: Parameters params ; params . add ( " " , getUUID ( ) ) ; params . add ( " " , db . getHostUUID ( ) ) ; db . callSimple ( " " , params ) ; } catch ( ... ) { klk_log ( KLKLOG_ERROR , " " ) ; } }
Sets the station as failed to stream
Sets the station as failed to stream
// `klk_app_dvb_failed_station_add` ( //IN station_uuid VARCHAR(40), //IN host_uuid VARCHAR(40)