public void failed(SessionRequest request) { System.err.println(request.getRemoteAddress() + " - request failed"); IOException ex = request.getException(); if (ex != null) { ex.printStackTrace(); } this.request.cancel(); }
public void timeout(SessionRequest request) { System.out.println(request.getRemoteAddress() + " - request timed out"); this.request.cancel(); }
public void cancelled(SessionRequest request) { System.out.println(request.getRemoteAddress() + " - request cancelled"); this.request.cancel(); }
public void completed(SessionRequest request) { System.out.println(request.getRemoteAddress() + " - request successful"); }