Package com.sshtools.client.tasks
Class AbstractSubsystem
java.lang.Object
com.sshtools.client.tasks.AbstractSubsystem
- Direct Known Subclasses:
SftpChannel
An abstract task for connecting to an SSH subsystem.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SshConnectionprotected SessionChannelNGprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SshConnectionprotected abstract intprotected abstract com.sshtools.common.util.UnsignedInteger32protected abstract com.sshtools.common.util.UnsignedInteger32protected SessionChannelNGbyte[]protected voidonCloseSession(SessionChannelNG session) voidsendMessage(Packet msg)
-
Field Details
-
timeout
protected long timeout -
con
-
session
-
-
Constructor Details
-
AbstractSubsystem
-
-
Method Details
-
getConnection
-
getMinimumWindowSize
protected abstract com.sshtools.common.util.UnsignedInteger32 getMinimumWindowSize() -
getMaximumWindowSize
protected abstract com.sshtools.common.util.UnsignedInteger32 getMaximumWindowSize() -
getMaximumPacketSize
protected abstract int getMaximumPacketSize() -
getSession
-
nextMessage
- Throws:
SshException
-
onCloseSession
-
sendMessage
- Throws:
SshException
-