Class SessionChannelNG

java.lang.Object
com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
com.sshtools.client.AbstractSessionChannel
com.sshtools.client.SessionChannelNG
All Implemented Interfaces:
com.sshtools.common.ssh.Channel, com.sshtools.common.ssh.SessionChannel

public class SessionChannelNG extends AbstractSessionChannel implements com.sshtools.common.ssh.SessionChannel
Implements the client side of the SSH Connection protocol session channel
  • Constructor Details

    • SessionChannelNG

      public SessionChannelNG(com.sshtools.common.ssh.SshConnection con)
    • SessionChannelNG

      public SessionChannelNG(com.sshtools.common.ssh.SshConnection con, boolean autoConsume)
    • SessionChannelNG

      public SessionChannelNG(int maximumPacketSize, com.sshtools.common.util.UnsignedInteger32 initialWindowSize, com.sshtools.common.util.UnsignedInteger32 maximumWindowSpace, com.sshtools.common.util.UnsignedInteger32 minimumWindowSpace, com.sshtools.common.ssh.ChannelRequestFuture closeFuture, boolean autoConsume)
    • SessionChannelNG

      public SessionChannelNG(int maximumPacketSize, com.sshtools.common.util.UnsignedInteger32 initialWindowSize, com.sshtools.common.util.UnsignedInteger32 maximumWindowSpace, com.sshtools.common.util.UnsignedInteger32 minimumWindowSpace, boolean autoConsume)
    • SessionChannelNG

      public SessionChannelNG(int maximumPacketSize, com.sshtools.common.util.UnsignedInteger32 initialWindowSize, com.sshtools.common.util.UnsignedInteger32 maximumWindowSpace, com.sshtools.common.util.UnsignedInteger32 minimumWindowSpace)
  • Method Details

    • onExtendedData

      protected void onExtendedData(ByteBuffer data, int type)
      Overrides:
      onExtendedData in class com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
    • getStderrStream

      public InputStream getStderrStream()
    • checkWindowSpace

      protected boolean checkWindowSpace()
      Overrides:
      checkWindowSpace in class com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
    • getMaximumWindowSpace

      public com.sshtools.common.util.UnsignedInteger32 getMaximumWindowSpace()
      Specified by:
      getMaximumWindowSpace in interface com.sshtools.common.ssh.SessionChannel
    • getMinimumWindowSpace

      public com.sshtools.common.util.UnsignedInteger32 getMinimumWindowSpace()
      Specified by:
      getMinimumWindowSpace in interface com.sshtools.common.ssh.SessionChannel
    • onSessionOpen

      public void onSessionOpen()
      Specified by:
      onSessionOpen in interface com.sshtools.common.ssh.SessionChannel