public void notifyChangedSlot(LocoNetSlot s){
  DccThrottle throttle=new LocoNetThrottle((LocoNetSystemConnectionMemo)adapterMemo,s);
  notifyThrottleKnown(throttle,new DccLocoAddress(s.locoAddr(),isLongAddress(s.locoAddr())));
  if (waitingForNotification.containsKey(s.locoAddr())) {
    Thread r=waitingForNotification.get(s.locoAddr());
synchronized (r) {
      r.interrupt();
    }
    waitingForNotification.remove(s.locoAddr());
  }
}

public void notifyChangedSlot ( LocoNetSlot s ) { DccThrottle throttle = new LocoNetThrottle ( ( LocoNetSystemConnectionMemo ) adapterMemo , s ) ; notifyThrottleKnown ( throttle , new DccLocoAddress ( s . locoAddr ( ) , isLongAddress ( s . locoAddr ( ) ) ) ) ; if ( waitingForNotification . containsKey ( s . locoAddr ( ) ) ) { Thread r = waitingForNotification . get ( s . locoAddr ( ) ) ; synchronized ( r ) { r . interrupt ( ) ; } waitingForNotification . remove ( s . locoAddr ( ) ) ; } }
slotlistener contract . get notification that an address has changed slot . this method creates a throttle for all throttlelisteners of that address and notifies them via the throttlelistener . notifythrottlefound method .
