Generalization of status listener