Package org.apache.mina.core.nio.tcp

Examples of org.apache.mina.core.nio.tcp.Mina3TcpBenchmarkClient


    public static final BenchmarkClientFactory INSTANCE = new BenchmarkClientFactory();

    public BenchmarkClient get(Type type) {
        switch (type) {
        case Mina3_tcp:
            return new Mina3TcpBenchmarkClient();
        case Mina3_udp:
            return new Mina3UdpBenchmarkClient();
        case Netty3_tcp:
            return new Netty3TcpBenchmarkClient();
        case Netty3_udp:
View Full Code Here


        case Netty4_tcp:
            return new Netty4TcpBenchmarkClient();
        case Netty4_udp:
            return new Netty4UdpBenchmarkClient();
        case Mina3_tcp:
            return new Mina3TcpBenchmarkClient();
        default:
            throw new IllegalArgumentException("Invalid type " + type);
        }
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    @Override
    public BenchmarkClient getClient() {
        return new Mina3TcpBenchmarkClient();
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    @Override
    public BenchmarkClient getClient() {
        return new Mina3TcpBenchmarkClient();
    }
View Full Code Here

TOP

Related Classes of org.apache.mina.core.nio.tcp.Mina3TcpBenchmarkClient

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.