public abstract class AbstractSubsystem
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected SshConnection |
con |
protected SessionChannelNG |
session |
protected long |
timeout |
| Constructor and Description |
|---|
AbstractSubsystem(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(Packet msg) |
protected long timeout
protected SshConnection con
protected SessionChannelNG session
public AbstractSubsystem(SshConnection con)
protected abstract int getMinimumWindowSize()
protected abstract int getMaximumWindowSize()
protected abstract int getMaximumPacketSize()
protected SessionChannelNG getSession()
public byte[] nextMessage()
throws SshException
SshExceptionprotected void onCloseSession(SessionChannelNG session)
public void sendMessage(Packet msg) throws SshException
SshExceptionCopyright © 2022. All rights reserved.