@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE ) return; // System.out.println("Measured RTT:" + measuredRTT); endpoint.matchCurrentRTO(); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, rtoType, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if (rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE) { return; } //System.out.println("Measured RTT:" + measuredRTT); endpoint.matchCurrentRTO(); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, rtoType, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE ) return; // System.out.println("Measured RTT:" + measuredRTT); endpoint.matchCurrentRTO(); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, rtoType, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if (rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE) { return; } //System.out.println("Measured RTT:" + measuredRTT); endpoint.matchCurrentRTO(); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, rtoType, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ //System.out.println("Measured an RTT of " + measuredRTT + " after using " + retransmissionCount + " retries." ); RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE) return; endpoint.matchCurrentRTO(); //System.out.println("Measured RTT:" + measuredRTT); // System.out.println("Endpoint status: blindweak/blindstrong/state : " + endpoint.isBlindWeak() + "/" + endpoint.isBlindStrong() + "/" + endpoint.getExchangeEstimatorState(exchange)); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, STRONGRTOTYPE, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount){ //System.out.println("Measured an RTT of " + measuredRTT + " after using " + retransmissionCount + " retries." ); RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR || rtoType == WEAKRTOTYPE) return; endpoint.matchCurrentRTO(); //System.out.println("Measured RTT:" + measuredRTT); // System.out.println("Endpoint status: blindweak/blindstrong/state : " + endpoint.isBlindWeak() + "/" + endpoint.isBlindStrong() + "/" + endpoint.getExchangeEstimatorState(exchange)); if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply // strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, STRONGRTOTYPE, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount) { //System.out.println("Measured an RTT of " + measuredRTT + " after using " + retransmissionCount + " retries." ); RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR) return; endpoint.matchCurrentRTO(); //System.out.println("Measured RTT:" + measuredRTT); // System.out.println("Endpoint status: blindweak/blindstrong/state : " + endpoint.isBlindWeak() + "/" + endpoint.isBlindStrong() + "/" + endpoint.getExchangeEstimatorState(exchange)); if (endpoint.isBlindWeak() && rtoType == WEAKRTOTYPE) { // Received a weak RTT for the first time, apply weak RTO update endpoint.setBlindWeak(false); initializeRTOEstimators(measuredRTT, WEAKRTOTYPE, endpoint); } else if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, STRONGRTOTYPE, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } }
@Override public void processRTTmeasurement(long measuredRTT, Exchange exchange, int retransmissionCount) { //System.out.println("Measured an RTT of " + measuredRTT + " after using " + retransmissionCount + " retries." ); RemoteEndpoint endpoint = getRemoteEndpoint(exchange); int rtoType = endpoint.getExchangeEstimatorState(exchange); if(rtoType == NOESTIMATOR) return; endpoint.matchCurrentRTO(); //System.out.println("Measured RTT:" + measuredRTT); // System.out.println("Endpoint status: blindweak/blindstrong/state : " + endpoint.isBlindWeak() + "/" + endpoint.isBlindStrong() + "/" + endpoint.getExchangeEstimatorState(exchange)); if (endpoint.isBlindWeak() && rtoType == WEAKRTOTYPE) { // Received a weak RTT for the first time, apply weak RTO update endpoint.setBlindWeak(false); initializeRTOEstimators(measuredRTT, WEAKRTOTYPE, endpoint); } else if (endpoint.isBlindStrong() && rtoType == STRONGRTOTYPE) { // Received a strong RTT measurement for the first time, apply strong RTO update endpoint.setBlindStrong(false); initializeRTOEstimators(measuredRTT, STRONGRTOTYPE, endpoint); } else { // Perform normal update of the RTO updateEstimator(measuredRTT, rtoType, endpoint); } }