Deprecate legacy SSH integration
[netconf.git] / netconf / netconf-netty-util / src / main / java / org / opendaylight / netconf / nettyutil / handler / ssh / client / AsyncSshHandlerReader.java
index e6ba03155580090ad5e6fa336cbf2b287238ca69..b123e0b631cd248f3cbaecbd85fe084aab755219 100644 (file)
@@ -22,10 +22,9 @@ import org.slf4j.LoggerFactory;
  * Listener on async input stream from SSH session.
  * This listeners schedules reads in a loop until the session is closed or read fails.
  */
+@Deprecated(since = "7.0.0", forRemoval = true)
 public final class AsyncSshHandlerReader implements SshFutureListener<IoReadFuture>, AutoCloseable {
-
     private static final Logger LOG = LoggerFactory.getLogger(AsyncSshHandlerReader.class);
-
     private static final int BUFFER_SIZE = 2048;
 
     private final AutoCloseable connectionClosedCallback;