org.apache.sshd.client.channel
Class ChannelDirectTcpip

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.ChannelDirectTcpip
All Implemented Interfaces:
ClientChannel, Channel

public class ChannelDirectTcpip
extends AbstractClientChannel

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, OPENED, STDERR_DATA, STDOUT_DATA, TIMEOUT
 
Constructor Summary
ChannelDirectTcpip(SshdSocketAddress local, SshdSocketAddress remote)
           
 
Method Summary
protected  void doOpen()
           
protected  void doWriteData(byte[] data, int off, int len)
           
protected  OpenFuture internalOpen()
           
 OpenFuture open()
           
 
Methods inherited from class org.apache.sshd.client.channel.AbstractClientChannel
close, doClose, doWriteExtendedData, getErr, getExitStatus, getIn, getOut, handleOpenFailure, handleOpenSuccess, handleRequest, 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

ChannelDirectTcpip

public ChannelDirectTcpip(SshdSocketAddress local,
                          SshdSocketAddress remote)
Method Detail

internalOpen

protected OpenFuture internalOpen()
                           throws java.lang.Exception
Overrides:
internalOpen in class AbstractClientChannel
Throws:
java.lang.Exception

doOpen

protected void doOpen()
               throws java.lang.Exception
Specified by:
doOpen in class AbstractClientChannel
Throws:
java.lang.Exception

open

public OpenFuture open()
                throws java.lang.Exception
Throws:
java.lang.Exception

doWriteData

protected void doWriteData(byte[] data,
                           int off,
                           int len)
                    throws java.io.IOException
Overrides:
doWriteData in class AbstractClientChannel
Throws:
java.io.IOException


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