org.apache.sshd.server.session
Class TcpipForwardSupport.ChannelForwardedTcpip

java.lang.Object
  extended by org.apache.sshd.common.channel.AbstractChannel
      extended by org.apache.sshd.client.channel.AbstractClientChannel
          extended by org.apache.sshd.server.session.TcpipForwardSupport.ChannelForwardedTcpip
All Implemented Interfaces:
ClientChannel, Channel
Enclosing class:
TcpipForwardSupport

public static class TcpipForwardSupport.ChannelForwardedTcpip
extends AbstractClientChannel


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
TcpipForwardSupport.ChannelForwardedTcpip(org.apache.mina.core.session.IoSession serverSession)
           
 
Method Summary
protected  void doClose()
           
protected  void doOpen()
           
protected  void doWriteData(byte[] data, int off, int len)
           
 void handleEof()
           
 OpenFuture open()
           
 
Methods inherited from class org.apache.sshd.client.channel.AbstractClientChannel
close, 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, 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

TcpipForwardSupport.ChannelForwardedTcpip

public TcpipForwardSupport.ChannelForwardedTcpip(org.apache.mina.core.session.IoSession serverSession)
Method Detail

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

doWriteData

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

handleEof

public void handleEof()
               throws IOException
Specified by:
handleEof in interface Channel
Overrides:
handleEof in class AbstractChannel
Throws:
IOException


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