Package com.jcraft.jsch
Class ChannelSubsystem
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelSession
com.jcraft.jsch.ChannelSubsystem
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jcraft.jsch.Channel
Channel.MyPipedInputStream, Channel.PassiveInputStream, Channel.PassiveOutputStream -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) String(package private) boolean(package private) booleanFields inherited from class com.jcraft.jsch.ChannelSession
agent_forwarding, env, tcol, terminal_mode, thp, trow, ttype, twpFields inherited from class com.jcraft.jsch.Channel
close, connected, connectTimeout, eof_local, eof_remote, exitstatus, id, index, io, lmpsize, lwsize, lwsize_max, notifyme, open_confirmation, recipient, reply, rmpsize, rwsize, SSH_MSG_CHANNEL_OPEN_CONFIRMATION, SSH_MSG_CHANNEL_OPEN_FAILURE, SSH_MSG_CHANNEL_WINDOW_ADJUST, SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, SSH_OPEN_CONNECT_FAILED, SSH_OPEN_RESOURCE_SHORTAGE, SSH_OPEN_UNKNOWN_CHANNEL_TYPE, thread, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidinit()voidsetErrStream(OutputStream out) voidsetPty(boolean foo) Allocate a Pseudo-Terminal.voidsetSubsystem(String foo) voidsetWantReply(boolean foo) voidsetXForwarding(boolean foo) Enable the X11 forwarding.voidstart()Methods inherited from class com.jcraft.jsch.ChannelSession
run, sendRequests, setAgentForwarding, setEnv, setEnv, setEnv, setPtySize, setPtyType, setPtyType, setTerminalModeMethods inherited from class com.jcraft.jsch.Channel
addRemoteWindowSize, close, connect, connect, del, disconnect, disconnect, eof, eof_remote, genChannelOpenPacket, getChannel, getChannel, getData, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getRecipient, getSession, isClosed, isConnected, isEOF, sendChannelOpen, sendOpenConfirmation, sendOpenFailure, sendSignal, setExitStatus, setExtOutputStream, setExtOutputStream, setInputStream, setInputStream, setLocalPacketSize, setLocalWindowSize, setLocalWindowSizeMax, setOutputStream, setOutputStream, setRecipient, setRemotePacketSize, setRemoteWindowSize, setSession, write, write, write_ext
-
Field Details
-
xforwading
boolean xforwading -
pty
boolean pty -
want_reply
boolean want_reply -
subsystem
String subsystem
-
-
Constructor Details
-
ChannelSubsystem
public ChannelSubsystem()
-
-
Method Details
-
setXForwarding
public void setXForwarding(boolean foo) Description copied from class:ChannelSessionEnable the X11 forwarding. Refer to RFC4254 6.3.1. Requesting X11 Forwarding.- Overrides:
setXForwardingin classChannelSession- Parameters:
foo-
-
setPty
public void setPty(boolean foo) Description copied from class:ChannelSessionAllocate a Pseudo-Terminal. Refer to RFC4254 6.2. Requesting a Pseudo-Terminal.- Overrides:
setPtyin classChannelSession- Parameters:
foo-
-
setWantReply
public void setWantReply(boolean foo) -
setSubsystem
-
start
- Overrides:
startin classChannel- Throws:
JSchException
-
init
- Overrides:
initin classChannel- Throws:
JSchException
-
setErrStream
-
getErrStream
- Throws:
IOException
-