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.MessageSizeEstimator;
20 import io.netty.channel.RecvByteBufAllocator;
21 import io.netty.channel.WriteBufferWaterMark;
22 import io.netty.channel.socket.DatagramChannelConfig;
23
24 import java.net.InetAddress;
25 import java.net.NetworkInterface;
26
27
28
29
30 @Deprecated
31 public interface OioDatagramChannelConfig extends DatagramChannelConfig {
32
33
34
35 OioDatagramChannelConfig setSoTimeout(int timeout);
36
37
38
39
40 int getSoTimeout();
41
42 @Override
43 OioDatagramChannelConfig setSendBufferSize(int sendBufferSize);
44
45 @Override
46 OioDatagramChannelConfig setReceiveBufferSize(int receiveBufferSize);
47
48 @Override
49 OioDatagramChannelConfig setTrafficClass(int trafficClass);
50
51 @Override
52 OioDatagramChannelConfig setReuseAddress(boolean reuseAddress);
53
54 @Override
55 OioDatagramChannelConfig setBroadcast(boolean broadcast);
56
57 @Override
58 OioDatagramChannelConfig setLoopbackModeDisabled(boolean loopbackModeDisabled);
59
60 @Override
61 OioDatagramChannelConfig setTimeToLive(int ttl);
62
63 @Override
64 OioDatagramChannelConfig setInterface(InetAddress interfaceAddress);
65
66 @Override
67 OioDatagramChannelConfig setNetworkInterface(NetworkInterface networkInterface);
68
69 @Override
70 OioDatagramChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead);
71
72 @Override
73 OioDatagramChannelConfig setWriteSpinCount(int writeSpinCount);
74
75 @Override
76 OioDatagramChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis);
77
78 @Override
79 OioDatagramChannelConfig setAllocator(ByteBufAllocator allocator);
80
81 @Override
82 OioDatagramChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator);
83
84 @Override
85 OioDatagramChannelConfig setAutoRead(boolean autoRead);
86
87 @Override
88 OioDatagramChannelConfig setAutoClose(boolean autoClose);
89
90 @Override
91 OioDatagramChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);
92
93 @Override
94 OioDatagramChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark);
95
96 @Override
97 OioDatagramChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark);
98
99 @Override
100 OioDatagramChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark);
101 }