1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.channel.socket.oio;
17
18 import io.netty.buffer.ByteBufAllocator;
19 import io.netty.channel.ChannelOption;
20 import io.netty.channel.MessageSizeEstimator;
21 import io.netty.channel.RecvByteBufAllocator;
22 import io.netty.channel.WriteBufferWaterMark;
23 import io.netty.channel.socket.ServerSocketChannelConfig;
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45 @Deprecated
46 public interface OioServerSocketChannelConfig extends ServerSocketChannelConfig {
47
48
49
50
51 OioServerSocketChannelConfig setSoTimeout(int timeout);
52
53
54
55
56 int getSoTimeout();
57
58 @Override
59 OioServerSocketChannelConfig setBacklog(int backlog);
60
61 @Override
62 OioServerSocketChannelConfig setReuseAddress(boolean reuseAddress);
63
64 @Override
65 OioServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize);
66
67 @Override
68 OioServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth);
69
70 @Override
71 OioServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis);
72
73 @Override
74 @Deprecated
75 OioServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead);
76
77 @Override
78 OioServerSocketChannelConfig setWriteSpinCount(int writeSpinCount);
79
80 @Override
81 OioServerSocketChannelConfig setAllocator(ByteBufAllocator allocator);
82
83 @Override
84 OioServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator);
85
86 @Override
87 OioServerSocketChannelConfig setAutoRead(boolean autoRead);
88
89 @Override
90 OioServerSocketChannelConfig setAutoClose(boolean autoClose);
91
92 @Override
93 OioServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark);
94
95 @Override
96 OioServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark);
97
98 @Override
99 OioServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark);
100
101 @Override
102 OioServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);
103 }