public abstract class AbstractSubsystem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected com.sshtools.common.ssh.SshConnection |
con |
protected SessionChannelNG |
session |
protected long |
timeout |
Constructor and Description |
---|
AbstractSubsystem(com.sshtools.common.ssh.SshConnection con) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
getMaximumPacketSize() |
protected abstract int |
getMaximumWindowSize() |
protected abstract int |
getMinimumWindowSize() |
protected SessionChannelNG |
getSession() |
byte[] |
nextMessage() |
protected void |
onCloseSession(SessionChannelNG session) |
void |
sendMessage(com.sshtools.common.ssh.Packet msg) |
protected long timeout
protected com.sshtools.common.ssh.SshConnection con
protected SessionChannelNG session
public AbstractSubsystem(com.sshtools.common.ssh.SshConnection con)
protected abstract int getMinimumWindowSize()
protected abstract int getMaximumWindowSize()
protected abstract int getMaximumPacketSize()
protected SessionChannelNG getSession()
public byte[] nextMessage() throws com.sshtools.common.ssh.SshException
com.sshtools.common.ssh.SshException
protected void onCloseSession(SessionChannelNG session)
public void sendMessage(com.sshtools.common.ssh.Packet msg) throws com.sshtools.common.ssh.SshException
com.sshtools.common.ssh.SshException
Copyright © 2022. All rights reserved.