public class SimpleNettyClient extends AbstractNettyClient
| 构造器和说明 |
|---|
SimpleNettyClient(String namePre) |
| 限定符和类型 | 方法和说明 |
|---|---|
SimpleNettyClient |
handler(io.netty.channel.ChannelHandler handler) |
SimpleNettyClient |
handlers(Supplier<io.netty.channel.ChannelHandler[]> supplier) |
SimpleNettyClient |
ioRatio(int ioRatio) |
SimpleNettyClient |
ioThreadCount(int ioThreadCount) |
SimpleNettyClient |
remoteAddress(InetSocketAddress remoteAddress) |
config, connect, connect, getActiveSocketChannelCount, getBootstrap, getChannel, getIoRatio, getIoThreadCount, getName, getPort, getRemoteAddress, getWorker, isConnect, isConnectIng, isEnableEpoll, setChannel, setIoRatio, setIoThreadCount, stop, toStringpublic SimpleNettyClient(String namePre)
public SimpleNettyClient handler(io.netty.channel.ChannelHandler handler)
public SimpleNettyClient handlers(Supplier<io.netty.channel.ChannelHandler[]> supplier)
public SimpleNettyClient ioThreadCount(int ioThreadCount)
public SimpleNettyClient ioRatio(int ioRatio)
public SimpleNettyClient remoteAddress(InetSocketAddress remoteAddress)
Copyright © 2021. All rights reserved.