コード例 #1
0
 @Override
 protected void setTask(DNSTask task) {
   super.setTask(task);
   if ((this._task == null) && _info.needTextAnnouncing()) {
     this.lock();
     try {
       if ((this._task == null) && _info.needTextAnnouncing()) {
         if (this._state.isAnnounced()) {
           this.setState(DNSState.ANNOUNCING_1);
           if (this.getDns() != null) {
             this.getDns().startAnnouncer();
           }
         }
         _info.setNeedTextAnnouncing(false);
       }
     } finally {
       this.unlock();
     }
   }
 }
コード例 #2
0
 @Override
 public void setDns(JmDNSImpl dns) {
   super.setDns(dns);
 }