Java 类io.netty.channel.socket.ServerSocketChannelConfig 实例源码

项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setReceiveBufferSize(int size) {
    try {
        dchannel.socket().setReceiveBufferSize(size);
    } catch (SocketException ex) {
        throw new ChannelException(ex);
    }
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setReuseAddress(boolean reuseaddr) {
    try {
        dchannel.socket().setReuseAddress(true);
    } catch (SocketException ex) {
        throw new ChannelException(ex);
    }
    return this;
}
项目:UdpServerSocketChannel    文件:NioUdpServerChannel.java   
@Override
public ServerSocketChannelConfig config() {
    return config;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setBacklog(int backlog) {
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setConnectTimeoutMillis(int timeout) {
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setPerformancePreferences(int arg0, int arg1, int arg2) {
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setAllocator(ByteBufAllocator alloc) {
    super.setAllocator(alloc);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator alloc) {
    super.setRecvByteBufAllocator(alloc);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setAutoRead(boolean autoread) {
    super.setAutoRead(true);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
@Deprecated
public ServerSocketChannelConfig setMaxMessagesPerRead(int n) {
    super.setMaxMessagesPerRead(n);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator est) {
    super.setMessageSizeEstimator(est);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
@Override
public ServerSocketChannelConfig setWriteSpinCount(int spincount) {
    super.setWriteSpinCount(spincount);
    return this;
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
public ServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark) {
    return (ServerSocketChannelConfig) super.setWriteBufferHighWaterMark(writeBufferHighWaterMark);
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
public ServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark) {
    return (ServerSocketChannelConfig) super.setWriteBufferLowWaterMark(writeBufferLowWaterMark);
}
项目:UdpServerSocketChannel    文件:UdpServerChannelConfig.java   
public ServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) {
    return (ServerSocketChannelConfig) super.setWriteBufferWaterMark(writeBufferWaterMark);
}
项目:netty4.0.27Learn    文件:NioServerSocketChannel.java   
@Override
public ServerSocketChannelConfig config() {
    return config;
}
项目:netty4study    文件:NioServerSocketChannel.java   
@Override
public ServerSocketChannelConfig config() {
    return config;
}
项目:netty-netty-5.0.0.Alpha1    文件:NioServerSocketChannel.java   
@Override
public ServerSocketChannelConfig config() {
    return config;
}