Exemplo n.º 1
0
 public void reset() throws RemoteException {
   try {
     urlTable.reset();
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
   }
 }
Exemplo n.º 2
0
 public void shutdown() {
   try {
     urlTable.close();
   } catch (DBException ex) {
     Logger.getLogger(SpiderGroupImp.class.getName()).log(Level.SEVERE, null, ex);
   }
 }
Exemplo n.º 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();
   }
 }
Exemplo n.º 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();
   }
 }