Implement a part of code to notify resident event.