beatWaiting = u;
if (sc.isDebug())
sc.getVerbose().addConsoleMsg(String.format(Messages.getString("HeartBeatThread.DBG_BeatOnUser"), u.getUsername()), EnumSet.of(EnumVerbose.ToConsole)); //$NON-NLS-1$
try {
// Send the packet
new SendHeartBeat(u.getIp());
// Wait 5 second for reply
synchronized (this) {
this.wait(5000);
}
} catch (IOException e) {} catch (InterruptedException e) {}