diff --git a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java index 06e69c3e2d..ae90addda3 100644 --- a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java +++ b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java @@ -31,7 +31,10 @@ import static io.netty.channel.udt.UdtChannelOption.*; /** * The default {@link UdtChannelConfig} implementation. + * + * @deprecated The UDT transport is no longer maintained and will be removed. */ +@Deprecated public class DefaultUdtChannelConfig extends DefaultChannelConfig implements UdtChannelConfig { diff --git a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java index 9f6c07cc97..9c40b1234c 100644 --- a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java +++ b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java @@ -28,7 +28,10 @@ import static io.netty.channel.ChannelOption.*; /** * The default {@link UdtServerChannelConfig} implementation. + * + * @deprecated The UDT transport is no longer maintained and will be removed. */ +@Deprecated public class DefaultUdtServerChannelConfig extends DefaultUdtChannelConfig implements UdtServerChannelConfig { diff --git a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannel.java index 2e2b412564..c0ffe69038 100644 --- a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannel.java +++ b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannel.java @@ -24,7 +24,10 @@ import java.net.InetSocketAddress; * UDT {@link Channel}. *
* Supported UDT {@link UdtChannel} are available via {@link NioUdtProvider}.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public interface UdtChannel extends Channel {
/**
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelConfig.java
index 99acf4ad67..48866dc650 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelConfig.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelConfig.java
@@ -69,7 +69,10 @@ import io.netty.channel.RecvByteBufAllocator;
* {@code "receiveBufferSize"} and {@code "sendBufferSize"} as maximum message
* size. If received or sent message does not fit specified sizes,
* {@link ChannelException} will be thrown.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public interface UdtChannelConfig extends ChannelConfig {
/**
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelOption.java b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelOption.java
index 71d02296b0..c489f90ca4 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelOption.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/UdtChannelOption.java
@@ -20,7 +20,10 @@ import io.netty.channel.ChannelOption;
/**
* Options for the UDT transport
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public final class UdtChannelOption
* Supported UDT {@link UdtServerChannel} are available via {@link NioUdtProvider}.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public interface UdtServerChannel extends ServerChannel, UdtChannel {
}
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/UdtServerChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/UdtServerChannelConfig.java
index 541ba12694..f2409d3944 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/UdtServerChannelConfig.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/UdtServerChannelConfig.java
@@ -31,7 +31,10 @@ import io.netty.channel.RecvByteBufAllocator;
* {@code "receiveBufferSize"} and {@code "sendBufferSize"} as maximum message
* size. If received or sent message does not fit specified sizes,
* {@link ChannelException} will be thrown.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public interface UdtServerChannelConfig extends UdtChannelConfig {
/**
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtAcceptorChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtAcceptorChannel.java
index 9c7f130bcb..ba1f7ac9d6 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtAcceptorChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtAcceptorChannel.java
@@ -38,7 +38,10 @@ import static java.nio.channels.SelectionKey.*;
/**
* Common base for Netty Byte/Message UDT Stream/Datagram acceptors.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public abstract class NioUdtAcceptorChannel extends AbstractNioMessageChannel implements UdtServerChannel {
protected static final InternalLogger logger =
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteAcceptorChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteAcceptorChannel.java
index 882ee89132..fde1400828 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteAcceptorChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteAcceptorChannel.java
@@ -21,7 +21,10 @@ import io.netty.channel.udt.UdtChannel;
/**
* Byte Channel Acceptor for UDT Streams.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtByteAcceptorChannel extends NioUdtAcceptorChannel {
public NioUdtByteAcceptorChannel() {
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java
index 9c81d30912..fa4f8ab5bb 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java
@@ -41,7 +41,10 @@ import static java.nio.channels.SelectionKey.*;
/**
* Byte Channel Connector for UDT Streams.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtByteConnectorChannel extends AbstractNioByteChannel implements UdtChannel {
private static final InternalLogger logger =
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteRendezvousChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteRendezvousChannel.java
index d0647dd9d3..90446612b4 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteRendezvousChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteRendezvousChannel.java
@@ -19,7 +19,10 @@ import com.barchart.udt.TypeUDT;
/**
* Byte Channel Rendezvous for UDT Streams.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtByteRendezvousChannel extends NioUdtByteConnectorChannel {
public NioUdtByteRendezvousChannel() {
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageAcceptorChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageAcceptorChannel.java
index 4d8f7d0689..dcf971fc96 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageAcceptorChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageAcceptorChannel.java
@@ -21,7 +21,10 @@ import io.netty.channel.udt.UdtChannel;
/**
* Message Channel Acceptor for UDT Datagrams.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtMessageAcceptorChannel extends NioUdtAcceptorChannel {
public NioUdtMessageAcceptorChannel() {
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageConnectorChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageConnectorChannel.java
index 28411c9f94..2e4a319f33 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageConnectorChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageConnectorChannel.java
@@ -42,7 +42,10 @@ import static java.nio.channels.SelectionKey.*;
* Message Connector for UDT Datagrams.
*
* Note: send/receive must use {@link UdtMessage} in the pipeline
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtMessageConnectorChannel extends AbstractNioMessageChannel implements UdtChannel {
private static final InternalLogger logger =
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageRendezvousChannel.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageRendezvousChannel.java
index b16e119b9f..370630bce6 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageRendezvousChannel.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtMessageRendezvousChannel.java
@@ -22,7 +22,10 @@ import io.netty.channel.udt.UdtMessage;
* Message Rendezvous for UDT Datagrams.
*
* Note: send/receive must use {@link UdtMessage} in the pipeline
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public class NioUdtMessageRendezvousChannel extends
NioUdtMessageConnectorChannel {
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtProvider.java b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtProvider.java
index a52438f8f6..dd0b6ba3b8 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtProvider.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtProvider.java
@@ -38,7 +38,10 @@ import java.nio.channels.spi.SelectorProvider;
* Provides {@link ChannelFactory} for UDT channels.
*
* Provides {@link SelectorProvider} for UDT channels.
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
public final class NioUdtProvider
* @see io.netty.example.udt
+ *
+ * @deprecated The UDT transport is no longer maintained.
*/
+@Deprecated
package io.netty.channel.udt.nio;
diff --git a/transport-udt/src/main/java/io/netty/channel/udt/package-info.java b/transport-udt/src/main/java/io/netty/channel/udt/package-info.java
index 2080de1684..6402aefa4e 100644
--- a/transport-udt/src/main/java/io/netty/channel/udt/package-info.java
+++ b/transport-udt/src/main/java/io/netty/channel/udt/package-info.java
@@ -17,6 +17,9 @@
* UDT Transport.
*
* @see io.netty.example.udt
+ *
+ * @deprecated The UDT transport is no longer maintained and will be removed.
*/
+@Deprecated
package io.netty.channel.udt;