List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.gxkj.demo.netty.socksproxy.DirectClientInitializer.java
public final class DirectClientInitializer extends ChannelInitializer<SocketChannel> { private final Promise promise; public DirectClientInitializer(Promise promise) { this.promise = promise;
From source file com.gxkj.demo.netty.socksproxy.SocksServerInitializer.java
public final class SocksServerInitializer extends ChannelInitializer<SocketChannel> { private final SocksMessageEncoder socksMessageEncoder = new SocksMessageEncoder(); private final SocksServerHandler socksServerHandler = new SocksServerHandler();
From source file com.gxkj.demo.netty.telnet.TelnetClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class TelnetClientInitializer extends ChannelInitializer<SocketChannel> { private static final StringDecoder DECODER = new StringDecoder(); private static final StringEncoder ENCODER = new StringEncoder();
From source file com.gxkj.demo.netty.telnet.TelnetServerInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class TelnetServerInitializer extends ChannelInitializer<SocketChannel> { /** * ?
From source file com.heliosapm.streams.forwarder.HttpJsonMetricForwarder.java
/**
* <p>Title: HttpJsonMetricForwarder</p>
* <p>Description: Listens on a kafka topic for metrics and forwards them to an HTTP/JSON endpoint</p>
* <p>Company: Helios Development Group LLC</p>
* @author Whitehead (nwhitehead AT heliosdev DOT org)
* <p><code>com.heliosapm.streams.forwarder.HttpJsonMetricForwarder</code></p>
From source file com.heliosapm.streams.onramp.PipelineFactory.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. * This class is supposed to be a singleton. */ @ChannelHandler.Sharable public final class PipelineFactory extends ChannelInitializer<SocketChannel> implements ThreadFactory {
From source file com.heliosapm.streams.onramp.UDPPipelineFactory.java
/**
* <p>Title: UDPPipelineFactory</p>
* <p>Description: The pipeline factory for the UDP stack</p>
* @author Whitehead (nwhitehead AT heliosdev DOT org)
* <p><code>com.heliosapm.streams.onramp.UDPPipelineFactory</code></p>
*/
From source file com.heliosapm.tsdblite.Server.java
/**
* <p>Title: Server</p>
* <p>Description: The netty core server</p>
* <p>Company: Helios Development Group LLC</p>
* @author Whitehead (nwhitehead AT heliosdev DOT org)
* <p><code>com.heliosapm.tsdblite.Server</code></p>
From source file com.heliosapm.webrpc.server.RPCServer.java
/**
* <p>Title: RPCServer</p>
* <p>Description: The RPC server singleton</p>
* <p>Company: Helios Development Group LLC</p>
* @author Whitehead (nwhitehead AT heliosdev DOT org)
* <p><code>com.heliosapm.webrpc.server.RPCServer</code></p>
From source file com.helome.messagecenter.client.io.SocketClientInitializer.java
/** */ public class SocketClientInitializer extends ChannelInitializer<SocketChannel> { private List<ConnectedListener> connectedListeners;