Example usage for io.netty.channel ChannelFactory interface-usage

List of usage examples for io.netty.channel ChannelFactory interface-usage

Introduction

In this page you can find the example usage for io.netty.channel ChannelFactory interface-usage.

Usage

From source file com.leekli.demo.utils.ReflectiveChannelFactory.java

/**
 * A {@link ChannelFactory} that instantiates a new {@link Channel} by invoking its default constructor reflectively.
 */
public class ReflectiveChannelFactory<T extends Channel> implements ChannelFactory<T> {

    private final Class<? extends T> clazz;

From source file org.graylog2.inputs.transports.netty.DatagramChannelFactory.java

public class DatagramChannelFactory implements ChannelFactory<DatagramChannel> {
    private final NettyTransportType transportType;

    public DatagramChannelFactory(NettyTransportType transportType) {
        this.transportType = transportType;
    }

From source file org.graylog2.inputs.transports.netty.ServerSocketChannelFactory.java

public class ServerSocketChannelFactory implements ChannelFactory<ServerSocketChannel> {
    private final NettyTransportType transportType;

    public ServerSocketChannelFactory(NettyTransportType transportType) {
        this.transportType = transportType;
    }

From source file org.jupiter.transport.netty.TcpChannelProvider.java

/**
 * jupiter
 * org.jupiter.transport.netty
 *
 * @author jiachun.fjc
 */