All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fireflysource.net.tcp.TcpClientFactory Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.tcp;

import com.fireflysource.net.tcp.aio.AioTcpClient;
import com.fireflysource.net.tcp.aio.TcpConfig;

abstract public class TcpClientFactory {

    public static TcpClient create() {
        return new AioTcpClient();
    }

    public static TcpClient create(TcpConfig config) {
        return new AioTcpClient(config);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy