private void addServerNotifierAsListener() {
        EventsControlSystem ecs = rcs.getECS();
        for (Integer decoder : model.getDecodersId()) {
            ecs.addListener(Protocol.EVENT_DECODER_STATE0, decoder, serverNotifier);
            ecs.addListener(Protocol.EVENT_DECODER_STATE1, decoder, serverNotifier);
            ecs.addListener(Protocol.EVENT_DECODER_STATE2, decoder, serverNotifier);
            ecs.addListener(Protocol.EVENT_DECODER_STATE3, decoder, serverNotifier);
        }
        for (Integer lissy : model.getLissiesId()) {
            ecs.addListener(Protocol.EVENT_LISSY_SIGNAL, lissy, serverNotifier);
        }
        for (Integer semaphore : model.getSemaphoresId()) {
            ecs.addListener(Protocol.EVENT_TURNOUT_STATE, semaphore, serverNotifier);
        }
        for (Integer turning : model.getTurningsId()) {
            ecs.addListener(Protocol.EVENT_TURNOUT_STATE, turning, serverNotifier);
        }
        for (Integer locomotive : model.getLocomotivesId()) {
            ecs.addListener(Protocol.EVENT_LOK_DIRECTION, locomotive, serverNotifier);
            ecs.addListener(Protocol.EVENT_LOK_F_STATE, locomotive, serverNotifier);
            ecs.addListener(Protocol.EVENT_LOK_GLOBAL_STATE, locomotive, serverNotifier);
            ecs.addListener(Protocol.EVENT_LOK_SPEED, locomotive, serverNotifier);
        }
        for (Integer sensor : model.getSensorsId()) {
            ecs.addListener(Protocol.EVENT_SENSOR_STATE, sensor, serverNotifier);
            ecs.addListener(Protocol.EVENT_SENSOR_STATE2, sensor, serverNotifier);
        }
        for (Integer slot : model.getSlotsId()) {
            ecs.addListener(Protocol.EVENT_SLOT_CONSIST, slot, serverNotifier);
            ecs.addListener(Protocol.EVENT_SLOT_STATE, slot, serverNotifier);
        }
        for (Integer track : model.getTracksId()) {
            ecs.addListener(Protocol.EVENT_SENSOR_STATE, track, serverNotifier);
        }
    }