Package org.apache.jmeter.util

Examples of org.apache.jmeter.util.SlowSocket


    // Override all the super-class Socket methods.
   
    @Override
    public Socket createSocket(final HttpParams params) {
        return new SlowSocket(CPS);
    }
View Full Code Here


        return new SlowSocket(CPS);
    }

    @Override
    public Socket createSocket() {
        return new SlowSocket(CPS);
    }
View Full Code Here

    }

    // Override all the socket creation methods in SSLSocketFactory
    @Override
    public Socket createSocket(final HttpParams params) {
        return new SlowSocket(CPS);
    }
View Full Code Here

        return new SlowSocket(CPS);
    }

    @Override
    public Socket createSocket() { // probably not used
        return new SlowSocket(CPS);
    }
View Full Code Here

        CPS = cps;
    }

    public Socket createSocket(String host, int port, InetAddress clientHost,
            int clientPort) throws IOException, UnknownHostException {
        return new SlowSocket(CPS,host,port,clientHost,clientPort);
    }
View Full Code Here

        return new SlowSocket(CPS,host,port,clientHost,clientPort);
    }

    public Socket createSocket(String host, int port) throws IOException,
            UnknownHostException {
        return new SlowSocket(CPS,host,port);
    }
View Full Code Here

    public Socket createSocket(String host, int port, InetAddress localAddress, int localPort,
            HttpConnectionParams params)
    throws IOException, UnknownHostException, ConnectTimeoutException {
        int timeout = params.getConnectionTimeout();
        if (timeout == 0) {
            return new SlowSocket(CPS,host,port,localAddress,localPort);
        } else {
            return new SlowSocket(CPS,host,port,localAddress,localPort, timeout);
        }
    }
View Full Code Here

    }

    @Override
    public Socket createSocket(String host, int port, InetAddress clientHost,
            int clientPort) throws IOException, UnknownHostException {
        return new SlowSocket(CPS,host,port,clientHost,clientPort);
    }
View Full Code Here

    }

    @Override
    public Socket createSocket(String host, int port) throws IOException,
            UnknownHostException {
        return new SlowSocket(CPS,host,port);
    }
View Full Code Here

    public Socket createSocket(String host, int port, InetAddress localAddress, int localPort,
            HttpConnectionParams params)
    throws IOException, UnknownHostException, ConnectTimeoutException {
        int timeout = params.getConnectionTimeout();
        if (timeout == 0) {
            return new SlowSocket(CPS,host,port,localAddress,localPort);
        } else {
            return new SlowSocket(CPS,host,port,localAddress,localPort, timeout);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.util.SlowSocket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.