handleError("Connection refused or failed for : " + request.getRemoteAddress());
}
public void timeout(SessionRequest request) {
HostConnections pool = (HostConnections) request.getAttachment();
pool.pendingConnectionFailed();
deliveryAgent.errorConnecting(pool.getHost(), pool.getPort(),
ErrorCodes.CONNECT_TIMEOUT, "Connection Timeout");
handleError("Timeout connecting to : " + request.getRemoteAddress());