コード例 #1
0
 public void reset() throws RemoteException {
   try {
     urlTable.reset();
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
   }
 }
コード例 #2
0
 public void shutdown() {
   try {
     urlTable.close();
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
   }
 }
コード例 #3
0
 public boolean request(String URL) throws RemoteException {
   try {
     return urlTable.request(URL);
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
     throw new RemoteException();
   }
 }
コード例 #4
0
 public void finish(String URL) throws RemoteException {
   try {
     urlTable.finish(URL);
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
     throw new RemoteException();
   }
 }