Package com.celeral.netconf.ssh
Class SSHByteBufferChannel
- java.lang.Object
-
- com.celeral.netconf.ssh.SSHByteBufferChannel
-
- All Implemented Interfaces:
ByteBufferChannel
,java.lang.AutoCloseable
public class SSHByteBufferChannel extends java.lang.Object implements ByteBufferChannel, java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description SSHByteBufferChannel(org.apache.sshd.client.session.ClientSession session, long connectTimeout, java.util.concurrent.TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
read(ByteBufferProcessor consumer)
void
write(ByteBufferProcessor producer)
-
-
-
Method Detail
-
read
public void read(ByteBufferProcessor consumer)
- Specified by:
read
in interfaceByteBufferChannel
-
write
public void write(ByteBufferProcessor producer)
- Specified by:
write
in interfaceByteBufferChannel
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-