Deprecated
as a consequence of OioDatagramChannelConfig being deprecated. See corresponding docs for further information.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| DefaultOioDatagramChannelConfig | back to summary |
|---|---|
| pack-priv DefaultOioDatagramChannelConfig(DatagramChannel channel, DatagramSocket javaSocket) | |
| getOption | back to summary |
|---|---|
| public <T> T getOption(ChannelOption<T> option) Overrides io. Implements io. Doc from io. Return the value of the given
| |
| getOptions | back to summary |
|---|---|
| public Map Overrides io. Implements io. Doc from io. Return all set
| |
| getSoTimeout | back to summary |
|---|---|
| public int getSoTimeout() Implements io. Doc from io. Returns the maximal time a operation on the underlying socket may block.
| |
| setAllocator | back to summary |
|---|---|
| public OioDatagramChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setAutoClose | back to summary |
|---|---|
| public OioDatagramChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public OioDatagramChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets if
| |
| setBroadcast | back to summary |
|---|---|
| public OioDatagramChannelConfig setBroadcast(boolean broadcast) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public OioDatagramChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the connect timeout of the channel in milliseconds. If the
| |
| setInterface | back to summary |
|---|---|
| public OioDatagramChannelConfig setInterface(InetAddress interfaceAddress) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the address of the network interface used for multicast packets.
| |
| setLoopbackModeDisabled | back to summary |
|---|---|
| public OioDatagramChannelConfig setLoopbackModeDisabled(boolean loopbackModeDisabled) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public OioDatagramChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated as a consequence of
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public OioDatagramChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setNetworkInterface | back to summary |
|---|---|
| public OioDatagramChannelConfig setNetworkInterface(NetworkInterface networkInterface) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setOption | back to summary |
|---|---|
| public <T> boolean setOption(ChannelOption<T> option, T value) Overrides io. Implements io. Doc from io. Sets a configuration property with the specified name and value. To override this method properly, you must call the super class:
public boolean setOption(ChannelOption<T> option, T value) {
if (super.setOption(option, value)) {
return true;
}
if (option.equals(additionalOption)) {
....
return true;
}
return false;
}
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public OioDatagramChannelConfig setReceiveBufferSize(int receiveBufferSize) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public OioDatagramChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public OioDatagramChannelConfig setReuseAddress(boolean reuseAddress) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Gets the
| |
| setSendBufferSize | back to summary |
|---|---|
| public OioDatagramChannelConfig setSendBufferSize(int sendBufferSize) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setSoTimeout | back to summary |
|---|---|
| public OioDatagramChannelConfig setSoTimeout(int timeout) Implements io. Doc from io. Deprecated as a consequence of Sets the maximal time a operation on the underlying socket may block.
| |
| setTimeToLive | back to summary |
|---|---|
| public OioDatagramChannelConfig setTimeToLive(int ttl) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setTrafficClass | back to summary |
|---|---|
| public OioDatagramChannelConfig setTrafficClass(int trafficClass) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public OioDatagramChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark) Overrides io. Implements io. Doc from io. Deprecated as a consequence of
Sets the high water mark of the write buffer. If the number of bytes
queued in the write buffer exceeds this value,
| |
| setWriteBufferLowWaterMark | back to summary |
|---|---|
| public OioDatagramChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark) Overrides io. Implements io. Doc from io. Deprecated as a consequence of
Sets the low water mark of the write buffer. Once the number of bytes
queued in the write buffer exceeded the
high water mark and then
dropped down below this value,
| |
| setWriteBufferWaterMark | back to summary |
|---|---|
| public OioDatagramChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public OioDatagramChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the maximum loop count for a write operation until
| |