public interface NettyServer extends Server
Server.TRANSMISSION_PROTOCOL, Server.TransmissionProtocol| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelInitializer<? extends io.netty.channel.Channel> |
getChannelInitializer()
createServerBootstrap will create a pipeline factory and save it as a
class variable.
|
NettyConfig |
getNettyConfig()
Get the netty configuration associated with this server.
|
void |
setChannelInitializer(io.netty.channel.ChannelInitializer<? extends io.netty.channel.Channel> initializer)
Method can be used to set the pipeline factory that is to be used by the
netty server.
|
getSocketAddress, getTransmissionProtocol, startServer, startServer, startServer, stopServerio.netty.channel.ChannelInitializer<? extends io.netty.channel.Channel> getChannelInitializer()
void setChannelInitializer(io.netty.channel.ChannelInitializer<? extends io.netty.channel.Channel> initializer)
initializer - The factory which will create a pipeline on each incoming
connection.NettyConfig getNettyConfig()
Copyright © 2013. All Rights Reserved.