Interface Channel

All Known Subinterfaces:
SessionChannel, SessionChannelServer

public interface Channel
  • Method Details

    • getLocalWindow

      com.sshtools.common.util.UnsignedInteger32 getLocalWindow()
    • getRemoteWindow

      com.sshtools.common.util.UnsignedInteger32 getRemoteWindow()
    • getLocalPacket

      int getLocalPacket()
    • close

      void close()
    • sendData

      void sendData(byte[] array, int i, int size) throws IOException
      Throws:
      IOException
    • sendWindowAdjust

      void sendWindowAdjust(com.sshtools.common.util.UnsignedInteger32 count)
    • isClosed

      boolean isClosed()
    • addEventListener

      void addEventListener(ChannelEventListener listener)
    • removeEventListener

      void removeEventListener(ChannelEventListener listener)
    • sendChannelRequest

      void sendChannelRequest(String requestName, boolean wantReply, byte[] data)
    • sendChannelRequest

      void sendChannelRequest(String type, boolean wantreply, byte[] requestdata, ChannelRequestFuture future)
    • getConnection

      SshConnection getConnection()
    • getContext

      Context getContext()
    • isRemoteEOF

      boolean isRemoteEOF()
    • isLocalEOF

      boolean isLocalEOF()
    • getChannelType

      String getChannelType()