this.counter = counter;
this.value = value;
// backward compatibility
if (notificationSource instanceof SbbNotification) {
SbbNotification sbbNotification = (SbbNotification)notificationSource;
this.serviceID = sbbNotification.getService();
this.sbbID = sbbNotification.getSbb();
}
else {
this.serviceID = null;
this.sbbID = null;
}