Hiram R. Chirino 2006-06-29 19:52:10 +00:00
parent f7f2a22712
commit 1ca2d6f57a
1 changed files with 5 additions and 3 deletions

View File

@ -256,13 +256,15 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent,Runnable{
String str=new String(packet.getData(),packet.getOffset(),packet.getLength());
processData(str);
}
}catch(SocketTimeoutException se){
} catch(SocketTimeoutException se){
// ignore
}catch(IOException e){
} catch(IOException e){
if( started.get() ) {
log.error("failed to process packet: "+e);
}
}
}
}
private void processData(String str){
if (discoveryListener != null){