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