org.apache.sshd.client.channel
Class ChannelSession
java.lang.Object
org.apache.sshd.common.channel.AbstractChannel
org.apache.sshd.client.channel.AbstractClientChannel
org.apache.sshd.client.channel.ChannelSession
- All Implemented Interfaces:
- ClientChannel, Channel
- Direct Known Subclasses:
- ChannelExec, ChannelShell, ChannelSubsystem
public class ChannelSession
- extends AbstractClientChannel
TODO Add javadoc
- Author:
- Apache MINA SSHD Project
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 |
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 |
ChannelSession
public ChannelSession()
open
public OpenFuture open()
throws Exception
- Throws:
Exception
doOpen
protected void doOpen()
throws Exception
- Specified by:
doOpen
in class AbstractClientChannel
- Throws:
Exception
doClose
protected void doClose()
- Overrides:
doClose
in class AbstractClientChannel
pumpInputStream
protected void pumpInputStream()
securedRead
protected int securedRead(InputStream in,
byte[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.