public class ServerBootstrap extends Object
| Constructor and Description |
|---|
ServerBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
ChannelFuture |
bind() |
ChannelFuture |
bind(ChannelFuture future) |
ServerBootstrap |
channel(ServerChannel channel) |
ServerBootstrap |
childHandler(ChannelHandler childHandler) |
<T> ServerBootstrap |
childOption(ChannelOption<T> childOption,
T value) |
ServerBootstrap |
group(EventLoopGroup group) |
ServerBootstrap |
group(EventLoopGroup parentGroup,
EventLoopGroup childGroup) |
ServerBootstrap |
handler(ChannelHandler handler) |
ServerBootstrap |
localAddress(InetAddress host,
int port) |
ServerBootstrap |
localAddress(int port) |
ServerBootstrap |
localAddress(SocketAddress localAddress) |
ServerBootstrap |
localAddress(String host,
int port) |
<T> ServerBootstrap |
option(ChannelOption<T> parentOption,
T value) |
void |
shutdown() |
public ServerBootstrap group(EventLoopGroup group)
public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup)
public ServerBootstrap channel(ServerChannel channel)
public <T> ServerBootstrap option(ChannelOption<T> parentOption, T value)
public <T> ServerBootstrap childOption(ChannelOption<T> childOption, T value)
public ServerBootstrap handler(ChannelHandler handler)
public ServerBootstrap childHandler(ChannelHandler childHandler)
public ServerBootstrap localAddress(SocketAddress localAddress)
public ServerBootstrap localAddress(int port)
public ServerBootstrap localAddress(String host, int port)
public ServerBootstrap localAddress(InetAddress host, int port)
public ChannelFuture bind()
public ChannelFuture bind(ChannelFuture future)
public void shutdown()
Copyright © 2008-2012 The Netty Project. All Rights Reserved.