com.jcraft.jsch
Class ChannelExec

java.lang.Object
  extended by com.jcraft.jsch.Channel
      extended by com.jcraft.jsch.ChannelSession
          extended by com.jcraft.jsch.ChannelExec
All Implemented Interfaces:
java.lang.Runnable

public class ChannelExec
extends ChannelSession


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jcraft.jsch.Channel
Channel.MyPipedInputStream, Channel.PassiveInputStream, Channel.PassiveOutputStream
 
Field Summary
(package private)  java.lang.String command
           
(package private)  boolean pty
           
(package private)  boolean xforwading
           
 
Fields inherited from class com.jcraft.jsch.Channel
close, connected, eof_local, eof_remote, exitstatus, id, index, io, lmpsize, lwsize, lwsize_max, recipient, reply, rmpsize, rwsize, session, thread, type
 
Constructor Summary
ChannelExec()
           
 
Method Summary
 java.io.InputStream getErrStream()
           
 void init()
           
 void setCommand(java.lang.String foo)
           
 void setErrStream(java.io.OutputStream out)
           
 void setPty(boolean foo)
           
 void setXForwarding(boolean foo)
           
 void start()
           
 
Methods inherited from class com.jcraft.jsch.ChannelSession
run
 
Methods inherited from class com.jcraft.jsch.Channel
addRemoteWindowSize, close, connect, del, disconnect, disconnect, eof_remote, eof, getChannel, getChannel, getData, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getRecipient, getSession, isClosed, isConnected, isEOF, sendSignal, setExitStatus, setExtOutputStream, setExtOutputStream, setInputStream, setInputStream, setLocalPacketSize, setLocalWindowSize, setLocalWindowSizeMax, setOutputStream, setOutputStream, setRecipient, setRemotePacketSize, setRemoteWindowSize, setSession, write_ext, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xforwading

boolean xforwading

pty

boolean pty

command

java.lang.String command
Constructor Detail

ChannelExec

public ChannelExec()
Method Detail

setXForwarding

public void setXForwarding(boolean foo)
Overrides:
setXForwarding in class Channel

setPty

public void setPty(boolean foo)

start

public void start()
           throws JSchException
Overrides:
start in class Channel
Throws:
JSchException

setCommand

public void setCommand(java.lang.String foo)

init

public void init()
Overrides:
init in class Channel

setErrStream

public void setErrStream(java.io.OutputStream out)

getErrStream

public java.io.InputStream getErrStream()
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright 2006 jcraft. All Rights Reserved.