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) boolean
Fields inherited from class com.jcraft.jsch.ChannelSession
agent_forwarding, env, tcol, terminal_mode, thp, trow, ttype, twp
Fields 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) void
init()
void
setErrStream
(OutputStream out) void
setPty
(boolean foo) Allocate a Pseudo-Terminal.void
setSubsystem
(String foo) void
setWantReply
(boolean foo) void
setXForwarding
(boolean foo) Enable the X11 forwarding.void
start()
Methods inherited from class com.jcraft.jsch.ChannelSession
run, sendRequests, setAgentForwarding, setEnv, setEnv, setEnv, setPtySize, setPtyType, setPtyType, setTerminalMode
Methods 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:ChannelSession
Enable the X11 forwarding. Refer to RFC4254 6.3.1. Requesting X11 Forwarding.- Overrides:
setXForwarding
in classChannelSession
- Parameters:
foo
-
-
setPty
public void setPty(boolean foo) Description copied from class:ChannelSession
Allocate a Pseudo-Terminal. Refer to RFC4254 6.2. Requesting a Pseudo-Terminal.- Overrides:
setPty
in classChannelSession
- Parameters:
foo
-
-
setWantReply
public void setWantReply(boolean foo) -
setSubsystem
-
start
- Overrides:
start
in classChannel
- Throws:
JSchException
-
init
- Overrides:
init
in classChannel
- Throws:
JSchException
-
setErrStream
-
getErrStream
- Throws:
IOException
-