Esempio n. 1
0
 // internal method to notify of the final result
 protected void notifyProgListenerEnd(int value, int status) {
   log.debug("notifyProgListenerEnd value {} status {}", value, status); // IN18N
   // the programmingOpReply handler might send an immediate reply, so
   // clear the current listener _first_
   tc.removeTrafficListener(MrcInterface.PROGRAMMING, this);
   jmri.ProgListener temp = _usingProgrammer;
   _usingProgrammer = null;
   temp.programmingOpReply(value, status);
 }
Esempio n. 2
0
 // internal method to notify of the final result
 protected void notifyProgListenerEnd(int value, int status) {
   if (log.isDebugEnabled()) {
     log.debug("notifyProgListenerEnd value " + value + " status " + status);
   }
   // the programmingOpReply handler might send an immediate reply, so
   // clear the current listener _first_
   jmri.ProgListener temp = _usingProgrammer;
   _usingProgrammer = null;
   temp.programmingOpReply(value, status);
 }