Example usage for io.netty.channel ChannelInitializer subclass-usage

List of usage examples for io.netty.channel ChannelInitializer subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel ChannelInitializer subclass-usage.

Usage

From source file cc.changic.platform.etl.schedule.http.HttpServerInitializer.java

public class HttpServerInitializer extends ChannelInitializer<SocketChannel> {

    @Override
    public void initChannel(SocketChannel ch) {
        ChannelPipeline p = ch.pipeline();
        p.addLast(new HttpServerCodec());

From source file cc.io.lessons.server.HttpUploadServerInitializer.java

public class HttpUploadServerInitializer extends ChannelInitializer<SocketChannel> {
    @Override
    public void initChannel(SocketChannel ch) throws Exception {
        // Create a default pipeline implementation.
        ChannelPipeline pipeline = ch.pipeline();

From source file cc.ly.mc.client.netty.SocketClientInitializer.java

/**
 */
public class SocketClientInitializer extends ChannelInitializer<SocketChannel> {

    @Override
    public void initChannel(SocketChannel ch) throws Exception {

From source file cc.ly.mc.core.client.io.SocketClientInitializer.java

/**
 */
public class SocketClientInitializer extends ChannelInitializer<SocketChannel> {

    private List<ConnectedListener> connectedListeners;

From source file cc.ly.mc.core.server.io.SocketServerInitializer.java

/**
 */
public class SocketServerInitializer extends ChannelInitializer<SocketChannel> {

    private List<ConnectedListener> connectedListeners;

From source file cc.ly.mc.server.netty.SocketServerInitializer.java

/**
 */
public class SocketServerInitializer extends ChannelInitializer<SocketChannel> {

    public SocketServerInitializer() {
    }

From source file ccwihr.client.t1.HttpUploadClientIntializer.java

public class HttpUploadClientIntializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

    public HttpUploadClientIntializer(SslContext sslCtx) {
        this.sslCtx = sslCtx;

From source file ccwihr.client.t2.Http2ClientInitializer.java

/**
 * Configures the client pipeline to support HTTP/2 frames.
 */
public class Http2ClientInitializer extends ChannelInitializer<SocketChannel> {
    private static final Http2FrameLogger logger = new Http2FrameLogger(INFO, Http2ClientInitializer.class);

From source file ChatClient.ChatClientInitializer.java

/**
 *
 * @author Bernhard
 */
public class ChatClientInitializer extends ChannelInitializer<SocketChannel> {

From source file ChatServer.ChatServerInitializer.java

/**
 *
 * @author Bernhard
 */
public class ChatServerInitializer extends ChannelInitializer<SocketChannel> {