1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.channel.unix;
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 public interface DomainDatagramChannelConfig extends ChannelConfig {
42
43 @Override
44 DomainDatagramChannelConfig setAllocator(ByteBufAllocator allocator);
45
46 @Override
47 DomainDatagramChannelConfig setAutoClose(boolean autoClose);
48
49 @Override
50 DomainDatagramChannelConfig setAutoRead(boolean autoRead);
51
52 @Override
53 DomainDatagramChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis);
54
55 @Override
56 @Deprecated
57 DomainDatagramChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead);
58
59 @Override
60 DomainDatagramChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);
61
62 @Override
63 DomainDatagramChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator);
64
65
66
67
68 DomainDatagramChannelConfig setSendBufferSize(int sendBufferSize);
69
70
71
72
73 int getSendBufferSize();
74
75 @Override
76 DomainDatagramChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark);
77
78 @Override
79 DomainDatagramChannelConfig setWriteSpinCount(int writeSpinCount);
80 }