def METHOD_NAME(self, interface, protocol, name, stype, domain, flags):
    if self.handlers[ stype ]:
        # FIXME: more details needed here
        try:
            self.handlers[ stype ]( SERVICE_LOST, { 'type' : stype, 'name' : name } )
        except:
            pass