Class AsyncSshHandlerWriter

  • All Implemented Interfaces:
    AutoCloseable

    public final class AsyncSshHandlerWriter
    extends Object
    implements AutoCloseable
    Async Ssh writer. Takes messages(byte arrays) and sends them encrypted to remote server. Also handles pending writes by caching requests until pending state is over.
    • Constructor Detail

      • AsyncSshHandlerWriter

        public AsyncSshHandlerWriter​(org.opendaylight.netconf.shaded.sshd.common.io.IoOutputStream asyncIn)
    • Method Detail

      • write

        public void write​(io.netty.channel.ChannelHandlerContext ctx,
                          Object msg,
                          io.netty.channel.ChannelPromise promise)
      • byteBufToString

        public static String byteBufToString​(io.netty.buffer.ByteBuf msg)