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.ChannelConfig;
20 import io.netty.channel.ChannelOption;
21 import io.netty.channel.MessageSizeEstimator;
22 import io.netty.channel.RecvByteBufAllocator;
23 import io.netty.channel.WriteBufferWaterMark;
24 import io.netty.channel.socket.SocketChannelConfig;
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 OioSocketChannelConfig extends SocketChannelConfig {
47
48
49
50
51 OioSocketChannelConfig setSoTimeout(int timeout);
52
53
54
55
56 int getSoTimeout();
57
58 @Override
59 OioSocketChannelConfig setTcpNoDelay(boolean tcpNoDelay);
60
61 @Override
62 OioSocketChannelConfig setSoLinger(int soLinger);
63
64 @Override
65 OioSocketChannelConfig setSendBufferSize(int sendBufferSize);
66
67 @Override
68 OioSocketChannelConfig setReceiveBufferSize(int receiveBufferSize);
69
70 @Override
71 OioSocketChannelConfig setKeepAlive(boolean keepAlive);
72
73 @Override
74 OioSocketChannelConfig setTrafficClass(int trafficClass);
75
76 @Override
77 OioSocketChannelConfig setReuseAddress(boolean reuseAddress);
78
79 @Override
80 OioSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth);
81
82 @Override
83 OioSocketChannelConfig setAllowHalfClosure(boolean allowHalfClosure);
84
85 @Override
86 OioSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis);
87
88 @Override
89 @Deprecated
90 OioSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead);
91
92 @Override
93 OioSocketChannelConfig setWriteSpinCount(int writeSpinCount);
94
95 @Override
96 OioSocketChannelConfig setAllocator(ByteBufAllocator allocator);
97
98 @Override
99 OioSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator);
100
101 @Override
102 OioSocketChannelConfig setAutoRead(boolean autoRead);
103
104 @Override
105 OioSocketChannelConfig setAutoClose(boolean autoClose);
106
107 @Override
108 OioSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark);
109
110 @Override
111 OioSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark);
112
113 @Override
114 OioSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark);
115
116 @Override
117 OioSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);
118 }