Package com.sshtools.common.ssh
Interface SessionChannel
- All Superinterfaces:
AutoCloseable,Channel
- All Known Subinterfaces:
SessionChannelServer
-
Method Summary
Modifier and TypeMethodDescriptioncom.sshtools.common.util.UnsignedInteger32com.sshtools.common.util.UnsignedInteger32voidvoidCalled once the session is open and data can be sent/received.voidMethods inherited from interface com.sshtools.common.ssh.Channel
addEventListener, close, getAttribute, getAttribute, getChannelType, getContext, getLocalPacket, getLocalWindow, getRemoteWindow, isClosed, isLocalEOF, isRemoteEOF, removeEventListener, sendChannelRequest, sendChannelRequest, sendData, sendWindowAdjust, setAttribute
-
Method Details
-
getConnection
SshConnection getConnection()- Specified by:
getConnectionin interfaceChannel
-
haltIncomingData
void haltIncomingData() -
resumeIncomingData
void resumeIncomingData() -
getMaximumWindowSpace
com.sshtools.common.util.UnsignedInteger32 getMaximumWindowSpace() -
getMinimumWindowSpace
com.sshtools.common.util.UnsignedInteger32 getMinimumWindowSpace() -
onSessionOpen
void onSessionOpen()Called once the session is open and data can be sent/received. This event happens once the user has either started the shell or executed a command. -
getInputStream
InputStream getInputStream() -
getOutputStream
OutputStream getOutputStream()
-