@Test public void testOptionsDoesNotThrow() { assertFalse(ch.config().getOptions().isEmpty()); }
@Override public Map<ChannelOption<?>, Object> getOptions() { return getOptions(super.getOptions(), SO_REUSEPORT, SO_ACCEPTFILTER); }
KQueueServerSocketChannelConfig extends KQueueServerChannelConfig implements ServerSocketChannelConfig { @Override public Map<ChannelOption<?>, Object> getOptions() { return getOptions(super.getOptions(), SO_REUSEPORT, SO_ACCEPTFILTER); } }
KQueueServerSocketChannelConfig extends KQueueServerChannelConfig implements ServerSocketChannelConfig { @Override public Map<ChannelOption<?>, Object> getOptions() { return getOptions(super.getOptions(), SO_REUSEPORT, SO_ACCEPTFILTER); } KQueueServerSocketChannelConfig(KQueueServerSocketChannel channel); }
KQueueServerSocketChannelConfig extends KQueueServerChannelConfig implements ServerSocketChannelConfig { @Override public Map<ChannelOption<?>, Object> getOptions() { return getOptions(super.getOptions(), SO_REUSEPORT, SO_ACCEPTFILTER); } KQueueServerSocketChannelConfig(KQueueServerSocketChannel channel); @Override Map<ChannelOption<?>, Object> getOptions(); @SuppressWarnings("unchecked") @Override T getOption(ChannelOption<T> option); @Override boolean setOption(ChannelOption<T> option, T value); KQueueServerSocketChannelConfig setReusePort(boolean reusePort); boolean isReusePort(); KQueueServerSocketChannelConfig setAcceptFilter(AcceptFilter acceptFilter); AcceptFilter getAcceptFilter(); @Override KQueueServerSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess); @Override KQueueServerSocketChannelConfig setReuseAddress(boolean reuseAddress); @Override KQueueServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize); @Override KQueueServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth); @Override KQueueServerSocketChannelConfig setBacklog(int backlog); @Override KQueueServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis); @Override @Deprecated KQueueServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead); @Override KQueueServerSocketChannelConfig setWriteSpinCount(int writeSpinCount); @Override KQueueServerSocketChannelConfig setAllocator(ByteBufAllocator allocator); @Override KQueueServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator); @Override KQueueServerSocketChannelConfig setAutoRead(boolean autoRead); @Override @Deprecated KQueueServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark); @Override @Deprecated KQueueServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark); @Override KQueueServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark); @Override KQueueServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator); }
KQueueServerSocketChannelConfig extends KQueueServerChannelConfig implements ServerSocketChannelConfig { @Override public Map<ChannelOption<?>, Object> getOptions() { return getOptions(super.getOptions(), SO_REUSEPORT, SO_ACCEPTFILTER); } KQueueServerSocketChannelConfig(KQueueServerSocketChannel channel); @Override Map<ChannelOption<?>, Object> getOptions(); @SuppressWarnings("unchecked") @Override T getOption(ChannelOption<T> option); @Override boolean setOption(ChannelOption<T> option, T value); KQueueServerSocketChannelConfig setReusePort(boolean reusePort); boolean isReusePort(); KQueueServerSocketChannelConfig setAcceptFilter(AcceptFilter acceptFilter); AcceptFilter getAcceptFilter(); @Override KQueueServerSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess); @Override KQueueServerSocketChannelConfig setReuseAddress(boolean reuseAddress); @Override KQueueServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize); @Override KQueueServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth); @Override KQueueServerSocketChannelConfig setBacklog(int backlog); @Override KQueueServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis); @Override @Deprecated KQueueServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead); @Override KQueueServerSocketChannelConfig setWriteSpinCount(int writeSpinCount); @Override KQueueServerSocketChannelConfig setAllocator(ByteBufAllocator allocator); @Override KQueueServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator); @Override KQueueServerSocketChannelConfig setAutoRead(boolean autoRead); @Override @Deprecated KQueueServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark); @Override @Deprecated KQueueServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark); @Override KQueueServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark); @Override KQueueServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);  }