Package ghidra.pty.ssh
Class SshPtyEndpoint
java.lang.Object
ghidra.pty.ssh.SshPtyEndpoint
- All Implemented Interfaces:
PtyEndpoint
- Direct Known Subclasses:
SshPtyChild,SshPtyParent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.jcraft.jsch.ChannelExecprotected final InputStreamprotected final OutputStream -
Constructor Summary
ConstructorsConstructorDescriptionSshPtyEndpoint(com.jcraft.jsch.ChannelExec channel, OutputStream outputStream, InputStream inputStream) -
Method Summary
Modifier and TypeMethodDescriptionGet the input stream for this end of the ptyGet the output stream for this end of the pty
-
Field Details
-
channel
protected final com.jcraft.jsch.ChannelExec channel -
outputStream
-
inputStream
-
-
Constructor Details
-
SshPtyEndpoint
public SshPtyEndpoint(com.jcraft.jsch.ChannelExec channel, OutputStream outputStream, InputStream inputStream)
-
-
Method Details
-
getOutputStream
Description copied from interface:PtyEndpointGet the output stream for this end of the ptyWrites to this stream arrive on the input stream for the opposite end, subject to the terminal's line discipline.
- Specified by:
getOutputStreamin interfacePtyEndpoint- Returns:
- the output stream
-
getInputStream
Description copied from interface:PtyEndpointGet the input stream for this end of the ptyWrites to the output stream of the opposite end arrive here, subject to the terminal's line discipline.
- Specified by:
getInputStreamin interfacePtyEndpoint- Returns:
- the input stream
-