org.apache.sshd.client.channel
Class ChannelShell

java.lang.Object
  extended by org.apache.sshd.common.channel.AbstractChannel
      extended by org.apache.sshd.client.channel.AbstractClientChannel
          extended by org.apache.sshd.client.channel.ChannelSession
              extended by org.apache.sshd.client.channel.ChannelShell
All Implemented Interfaces:
ClientChannel, Channel

public class ChannelShell
extends ChannelSession

TODO Add javadoc

Author:
Apache MINA SSHD Project

Field Summary
 
Fields inherited from class org.apache.sshd.client.channel.AbstractClientChannel
err, exitSignal, exitStatus, in, opened, openFailureMsg, openFailureReason, openFuture, out, type
 
Fields inherited from class org.apache.sshd.common.channel.AbstractChannel
closeFuture, closing, DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE, eof, id, localWindow, lock, log, recipient, remoteWindow, session
 
Fields inherited from interface org.apache.sshd.ClientChannel
CHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM, CLOSED, EOF, EXIT_SIGNAL, EXIT_STATUS, STDERR_DATA, STDOUT_DATA, TIMEOUT
 
Constructor Summary
ChannelShell()
           
 
Method Summary
protected  void doOpen()
           
 int getPtyColumns()
           
 int getPtyHeight()
           
 int getPtyLines()
           
 Map<PtyMode,Integer> getPtyModes()
           
 String getPtyType()
           
 int getPtyWidth()
           
 boolean isAgentForwarding()
           
 boolean isUsePty()
           
 void setAgentForwarding(boolean agentForwarding)
           
 void setPtyColumns(int ptyColumns)
           
 void setPtyHeight(int ptyHeight)
           
 void setPtyLines(int ptyLines)
           
 void setPtyModes(Map<PtyMode,Integer> ptyModes)
           
 void setPtyType(String ptyType)
           
 void setPtyWidth(int ptyWidth)
           
 void setupSensibleDefaultPty()
           
 void setUsePty(boolean usePty)
           
 
Methods inherited from class org.apache.sshd.client.channel.ChannelSession
doClose, open, pumpInputStream, securedRead
 
Methods inherited from class org.apache.sshd.client.channel.AbstractClientChannel
close, doWriteData, doWriteExtendedData, getErr, getExitStatus, getIn, getOut, handleOpenFailure, handleOpenSuccess, handleRequest, internalOpen, open, setErr, setIn, setOut, waitFor
 
Methods inherited from class org.apache.sshd.common.channel.AbstractChannel
configureWindow, getId, getLocalWindow, getRecipient, getSession, handleClose, handleData, handleEof, handleExtendedData, handleFailure, handleWindowAdjust, init, sendEof, sendWindowAdjust
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelShell

public ChannelShell()
Method Detail

setupSensibleDefaultPty

public void setupSensibleDefaultPty()

isAgentForwarding

public boolean isAgentForwarding()

setAgentForwarding

public void setAgentForwarding(boolean agentForwarding)

isUsePty

public boolean isUsePty()

setUsePty

public void setUsePty(boolean usePty)

getPtyType

public String getPtyType()

setPtyType

public void setPtyType(String ptyType)

getPtyColumns

public int getPtyColumns()

setPtyColumns

public void setPtyColumns(int ptyColumns)

getPtyLines

public int getPtyLines()

setPtyLines

public void setPtyLines(int ptyLines)

getPtyWidth

public int getPtyWidth()

setPtyWidth

public void setPtyWidth(int ptyWidth)

getPtyHeight

public int getPtyHeight()

setPtyHeight

public void setPtyHeight(int ptyHeight)

getPtyModes

public Map<PtyMode,Integer> getPtyModes()

setPtyModes

public void setPtyModes(Map<PtyMode,Integer> ptyModes)

doOpen

protected void doOpen()
               throws Exception
Overrides:
doOpen in class ChannelSession
Throws:
Exception


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.