public abstract class NettyServerChannel extends ServerChannel
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.netty.channel.group.ChannelGroup |
allChannels |
protected SSLContext |
sslContext |
channelHandler, logger, loggerFactory, maxIdleTimeSeconds, port| Constructor and Description |
|---|
NettyServerChannel(LoggerFactory factory,
int port) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareBootstrap(org.jboss.netty.bootstrap.ServerBootstrap bootstrap) |
protected abstract void |
preparePipeline(org.jboss.netty.channel.ChannelPipeline pipeline) |
void |
run() |
void |
setSSLContext(SSLContext sslContext) |
void |
stop() |
setChannelHandler, setMaxIdleTimeSecondsprotected org.jboss.netty.channel.group.ChannelGroup allChannels
protected SSLContext sslContext
public NettyServerChannel(LoggerFactory factory, int port)
public void setSSLContext(SSLContext sslContext)
public void run()
run in class ServerChannelpublic void stop()
stop in class ServerChannelprotected abstract void preparePipeline(org.jboss.netty.channel.ChannelPipeline pipeline)
protected void prepareBootstrap(org.jboss.netty.bootstrap.ServerBootstrap bootstrap)
Copyright © 2021. All rights reserved.