List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.helome.messagecenter.master.HttpServerInitializer.java
public class HttpServerInitializer extends ChannelInitializer<SocketChannel> { @Override public void initChannel(SocketChannel ch) throws Exception { // Create a default pipeline implementation. ChannelPipeline p = ch.pipeline();
From source file com.helome.messagecenter.server.io.SocketServerInitializer.java
/** */ public class SocketServerInitializer extends ChannelInitializer<SocketChannel> { private List<ConnectedListener> connectedListeners;
From source file com.heren.turtle.entry.channel.MessageReceiveInitializer.java
/** * Created by luoxiaoming on 16-6-13. */ public class MessageReceiveInitializer extends ChannelInitializer<Channel> { private final static int MAX_OBJECT_SIZE = 1024 * 1024;
From source file com.hipishare.chat.SecureChatClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class SecureChatClientInitializer extends ChannelInitializer<SocketChannel> { private static Logger LOG = LogManager.getLogger(SecureChatClientInitializer.class.getName());
From source file com.hipishare.chat.securetest.SecureChatClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class SecureChatClientInitializer extends ChannelInitializer<SocketChannel> { private static Logger LOG = LogManager.getLogger(SecureChatClientInitializer.class.getName());
From source file com.hipishare.chat.server.handler.SecureChatInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class SecureChatInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.hop.hhxx.example.factorial.FactorialClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a client-side channel. */ public class FactorialClientInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.hop.hhxx.example.factorial.FactorialServerInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a server-side channel. */ public class FactorialServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.hop.hhxx.example.http.cors.HttpCorsServerInitializer.java
/**
* Please refer to the {@link CorsConfig} javadocs for information about all the
* configuration options available.
*
* Below are some of configuration discussed in this example:
* <h3>Support only a specific origin</h3>
From source file com.hop.hhxx.example.http.file.HttpStaticFileServerInitializer.java
public class HttpStaticFileServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpStaticFileServerInitializer(SslContext sslCtx) { this.sslCtx = sslCtx;