コード例 #1
0
ファイル: MrcProgrammer.java プロジェクト: NomDInet/JMRI
 // 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);
 }
コード例 #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);
 }